Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-15 | - len is size_t, but n uses len and is an int. Matching those types | Ray Lai | |
should be good, plus it prevents weird things from happening if len > INT_MAX. - Since n is now size_t, compare it against 0 instead of >= 0. - temp is used to store individual bytes, so use char instead (matches fp and tp). - millert noted that the comma operator may not guarantee order of execution, so replace with semicolons. Found by lint, OK millert. | |||
2008-03-15 | Convert c to unsigned char, like it says in the manual. Also add | Ray Lai | |
cast to make it explicit. Found by lint, OK millert. | |||
2008-03-15 | In statclock(), fix local index type in the profiling code. Avoids | Miod Vallat | |
out-of-bounds array accesses on some platforms. | |||
2008-03-15 | Support the old-prom XVideo boards by rewriting the sbus range registers; | Miod Vallat | |
tested by Thorsten Glaser <tg@mirbsd.de> on sparc; while there, pretty and shrink dmesg output. | |||
2008-03-15 | tweak previous; | Jason McIntyre | |
2008-03-15 | seperate out space vs len calculations; ok hshoexer | Theo de Raadt | |
2008-03-15 | Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fds | Hans-Joerg Hoexer | |
instead of just two as this decreases the propability that things just work although the sizes are wrong (ie. 8 aligns correctly on both 32 and 64 bit platforms even with wrong usage of CMSG_{LEN,SPACE} whereas 12 doesn't). | |||
2008-03-15 | space allocated is sum of CMSG_SPACE()'s. length given to the kernel | Theo de Raadt | |
is the sum of all the CMSG_SPACE()'s, except for the last element use CMSG_LEN(). Insane, right? ok kettenis hshoexer | |||
2008-03-15 | Repair the simple cases for msg_controllen where it should just be | Theo de Raadt | |
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer | |||
2008-03-15 | show the correct idiom | Theo de Raadt | |
2008-03-15 | This should set msg_control using CMSG_SIZE(), and not assume that | Theo de Raadt | |
sizeof(buffer) is the right size (alignments can mess it up). Code is apparently not used, but it is better if all examples show the correct idiom ok hshoexer | |||
2008-03-15 | Repair more msg_controllen dealing with structures or arrays of | Theo de Raadt | |
descriptors; ok hshoexer, also looked at by kettenis and henning | |||
2008-03-15 | repair msg_controllen and also an errant buf[CMSG_LEN(..)] decl | Theo de Raadt | |
2008-03-15 | Repair the simple cases for msg_controllen where it should just be | Theo de Raadt | |
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer | |||
2008-03-15 | Fix several CMSG-related bugs. Chaining CMSG's is tricky since you need to | Mark Kettenis | |
use CMSG_SPACE for all except the last one, which should be CMSG_LEN. This makes calculate .msg_controllen tricky. Also make sure that we can receive multiple CMSG's again. ok deraadt@, hshoexer@ | |||
2008-03-15 | Document video modes. | Miod Vallat | |
2008-03-15 | if the device supports the PCI capabilities list and the verbose flag | Reyk Floeter | |
is specified, print all PCI capabilities by name instead of just the initial capabilities pointer. ok dlg@ kettenis@ | |||
2008-03-15 | After 15 years of fun, fix Torek's ovbcopy() operation when copying shorts | Miod Vallat | |
backwards. | |||
2008-03-15 | When installing via NFS, only retry the mount five times (instead of the | Joel Sing | |
default 10,000 times). ok deraadt@ krw@ thib@ | |||
2008-03-15 | Because the shuffle code initialisation is a specific case of shuffling | Damien Miller | |
a set of incrementing integers (and not an arbitrary set of values) it is possible to populate the array as we shuffle it in a single forward pass. Clever optimisation from didickman AT gmail.com; ok deraadt@ mcbride@ (same change as netinet/ip_id.c) | |||
2008-03-15 | revert - I'm a dumbfuck who doesn't know his own API | Damien Miller | |
2008-03-15 | off by one at end of array | Damien Miller | |
2008-03-15 | Because the ip_id code initialisation is a specific case of shuffling | Damien Miller | |
a set of incrementing integers (and not an arbitrary set of values) it is possible to populate the array as we shuffle it in a single forward pass. Clever optimisation from didickman AT gmail.com; ok deraadt@ mcbride@ | |||
2008-03-15 | explicitly report whether the lower or upper limit is exceeded; ok sthen@ ↵ | Constantine A. Murenin | |
ckuethe@ | |||
2008-03-15 | move zerodotzero up so more stuff can use it | David Gwynne | |
this is an ok bit of a bigger diff that reyk wanted split up | |||
2008-03-14 | Make sure the most often changing bits of tv_usec are used for lladdr | Marc Balmer | |
generation. ok brad | |||
2008-03-14 | "-Aa" are not required flags; sort synopses; improve description of "-a" | Igor Sobrado | |
written with invaluable advice from jmc@ ok jmc@ | |||
2008-03-14 | synchronize the synopsis and usage; improve description of flag "-a" | Igor Sobrado | |
written with invaluable advice from jakemsr@, jmc@, ratchov@ ok jmc@ | |||
2008-03-14 | Don't even try to attach pcons(4) if we have a real console. | Mark Kettenis | |
2008-03-14 | - punctuate and order the tokens list, to stop it looking scrappy | Jason McIntyre | |
- it doesn;t make sense to list esm(4) in SEE ALSO | |||
2008-03-14 | add a new ber function ber_add_astring() that strdups the string and | Reyk Floeter | |
sets the be_free flag (which is required in some cases). this will make it easier because it is done manually at some places in the code. discussed with dlg | |||
2008-03-14 | xref cdcef(4). ok mbalmer, jmc | Stuart Henderson | |
2008-03-14 | IP_MAX_MEMBERSHIPS was bumped to 4095 in -r1.74; from Matthew Dempsky | Jason McIntyre | |
2008-03-14 | Do not allow pppoe(4) interfaces to be attached to anything but Ethernet | Brad Smith | |
or VLAN interfaces. Based on a similar change from NetBSD. ok canacar@ | |||
2008-03-14 | Add a "%l" token to signal whether a sensor value is in or out of bounds, | Chris Kuethe | |
without regard for the specific value. It's a big heavy binary hammer... ok & style feedback from cnst | |||
2008-03-13 | Make this catch up with some changed structs. Fix indentation while I'm there. | Mark Kettenis | |
2008-03-13 | Do not increment the input packet counter in these drivers as | Brad Smith | |
ieee80211_input() already does this. Mentioned by Peter Philipp in PR 5248. ok claudio@ mglocker@ | |||
2008-03-13 | Add prtc(4). | Mark Kettenis | |
2008-03-13 | Attach prtc(4) if no (hardware) real-time clock was found. | Mark Kettenis | |
2008-03-13 | prtc(4) | Mark Kettenis | |
2008-03-13 | Add prtc(4). | Mark Kettenis | |
2008-03-13 | First shot at a driver to get the time-of-day on the e10k. | Mark Kettenis | |
2008-03-13 | document the just-committed %s token. | Chris Kuethe | |
ok mbalmer | |||
2008-03-13 | Allow a program invoked on state change to receive sensor status. Perhaps | Chris Kuethe | |
you might want to toggle an error light when a sensor is not OK. Perhaps you might want to schedule a shutdown if a sensor is reporting bad news. Now you can do this, and cancel that pending shutdown (or turn off the error light) if the sensor decides all is well. ok mbalmer (who came up with an almost identical diff months ago) useful feedback and generally positive responses from deraadt, henning, msf | |||
2008-03-13 | Remove code to set mmu context to 0. It should already be set to 0 at that | Mark Kettenis | |
point; this code is probably a leftover from some code that tried to find out the number of available context dynamically. tested by ckuethe@, jsg@, sthen@ | |||
2008-03-13 | when a file was locally removed and a diff was done against | Stuart Henderson | |
an opencvs server (with either gnu or opencvs as the client), no actual diff output was produced. traced to the typo fixed in this diff. ok joris | |||
2008-03-13 | Add __data_start symbol to all ELF archs to consistently mark the beginning | Kurt Miller | |
of the writable sections. This is useful for garbage collectors such as boehm-gc to locate these sections in a uniform way. input and okay drahn@, miod@ | |||
2008-03-13 | use RCS_PARSE_FULLY for CVS_OP_ADMIN as well. | Joris Vink | |
2008-03-13 | properly initialize variables | Joris Vink | |
2008-03-13 | make sure we start 4 servers on udp if called with | Thordur I. Bjornsson | |
no arguments, like the man page promises. ok deraadt@, blambert@ From tcuji@pwns.ms |