Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-17 | sync | Theo de Raadt | |
2008-03-17 | option 252 is generally used to specify an autoproxy-script on a subnet. | David Gwynne | |
ok krw@ henning@ | |||
2008-03-16 | s/273.16/273.15/g, then refactor the formulae to ensure that the | Constantine A. Murenin | |
double to int64_t conversions happen sooner rather than later discussed with / ok by kettenis | |||
2008-03-16 | text simplification; | Jason McIntyre | |
2008-03-16 | some more agp/vga bits; | Jason McIntyre | |
2008-03-16 | Include <sparc64/dev/starfire.h> instead of having our own definitions. | Mark Kettenis | |
2008-03-16 | Add some e10k support code. | Mark Kettenis | |
2008-03-16 | Set up interrupt translation for e10k. | Mark Kettenis | |
2008-03-16 | Add some e10k support code. | Mark Kettenis | |
2008-03-16 | - add NAME entries for arc4random_buf and arc4random_uniform | Jason McIntyre | |
- simplify a macro call (Do/Dc -> Dq) | |||
2008-03-16 | Add missing MLINKS | Theo de Raadt | |
2008-03-16 | sync with sys/statfs.h; ok jmc@ | Otto Moerbeek | |
2008-03-16 | actually print the now available large numbers | Otto Moerbeek | |
2008-03-16 | bump | Otto Moerbeek | |
2008-03-16 | Add the semi-standard _SC_PHYS_PAGES and _SC_AVPHYS_PAGES, sysconf(3) variable. | Mark Kettenis | |
ok espie@ | |||
2008-03-16 | diff from djm@ committed at his request: | Otto Moerbeek | |
introduce two new APIs for requesting strong random numbers: arc4random_buf() - fill an arbitrary memory range with random numbers arc4random_uniform() - return a uniformly distributed random number below a specified upper bound, avoiding the bias that comes from a naive "arc4random() % upper_bound" construction. these mirror similarly-named functions in the kernel; lots of discussion deraadt@ mcbride@ | |||
2008-03-16 | indent | Theo de Raadt | |
2008-03-16 | statvfs support | Otto Moerbeek | |
2008-03-16 | regen | Otto Moerbeek | |
2008-03-16 | Widen some struct statfs fields to support large filesystem stata | Otto Moerbeek | |
and add some to be able to support statvfs(2). Do the compat dance to provide backward compatibility. ok thib@ miod@ | |||
2008-03-16 | for some reason the pchb dependency on agp got left in. kill it. | Owain Ainsworth | |
2008-03-16 | agp now attaches at vga. | Owain Ainsworth | |
2008-03-16 | Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes | Owain Ainsworth | |
agp and drm need to use the same memory mapping, the best way to deal with that is to allow them to share (that's coming later), for this to work cleanly we move the attach point of agp. Ideally most agp drivers would attach at pchb, with only agp_i810 (and any that work similarly) attaching at vga, but this will do for now. ok kettenis@, miod@. | |||
2008-03-16 | avoid errno trashing, ok mpf henning | Theo de Raadt | |
2008-03-16 | syslogd leaves zombies around if multiple |/pathto/mylogprog | Marco Pfatschbacher | |
children died in a row. Do waitpid(2) in a loop until there's nothing left. OK henning@, millert@ | |||
2008-03-16 | use ellipsis to show that more than one disk is allowed | Igor Sobrado | |
ok jmc@ | |||
2008-03-16 | Reduce the number of unnecessary time(3)/gettimeofday(2) calls, and make sure | Constantine A. Murenin | |
that the time always goes forward, so reports are neither duplicated nor lost. Report state changes stabilised through dampening immediately, instead of delay- ing them until the next reporting window; previously, it was common for check() to lag one second behind report(), hence the initial report was delayed one extra minute (this then reduces the number of sleep(3)/nanosleep(2) calls, too). ok ckuethe; some man-page suggestions jmc | |||
2008-03-16 | implement the hrSWRun portion of the HOST-RESOURCES mib. you can see whats | David Gwynne | |
running now, which is another thing my nms at work likes. ok reyk@ | |||
2008-03-16 | usage statements are preceeded with usage: | David Gwynne | |
ok reyk@ | |||
2008-03-15 | provide sizeofa for counting the number of elements in an array. use it for | David Gwynne | |
passing the length of the mib in all these sysctl calls. ok reyk@ | |||
2008-03-15 | Make GENERIC.MP work on the e10k. The e10k is a bit funky since UPA only | Mark Kettenis | |
supports 32 ports, and a machine with up to 64 CPUs obviously needs more. So the machine has a special ASIC that does port translation, and because of that we need to distinguish between port ID's and interrupt target ID's. | |||
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@ |