Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-29 | dial down the direness of the warning; vnd isn't going anywhere yet | Ted Unangst | |
2014-10-29 | Calling a function to htonl() a constant 32-bit value into a stack | Kenneth R Westerback | |
variable and memcpy() that value into 4 bytes of malloc()'d space seems roundabout. Just memcpy() a four byte constant string into the malloc()'d space as required and kill putULong(). No functional change. | |||
2014-10-29 | remove ugly return value casts | Theo de Raadt | |
2014-10-29 | convert simple cases of select() to poll() | Theo de Raadt | |
ok doug | |||
2014-10-27 | Fixup incorrect expansion of the networking mask for dynamic interface | Mike Belopuhov | |
specifications under certain circumstances resulting in potentially elevated access permissions for IPv6 traffic. Reported by sthen@; ok henning benno sthen | |||
2014-10-27 | Compare with/use UINT16_MAX rather than 65535. Less magic is more. | Kenneth R Westerback | |
2014-10-27 | Nuke getLong(), getShort(), getUShort(). Two line functions (memcpy(); | Kenneth R Westerback | |
ntoh[ls]()) obscure rather than simplify things. Especially when they are used only once. Just use the expansion. | |||
2014-10-27 | htonl(ntohl(memcpy'd buf)) seems like the long way around to copy | Kenneth R Westerback | |
an IPv4 address. Just memcpy() it. | |||
2014-10-27 | Zap extraneous whitespace and a stuttered extra 'break;'. | Kenneth R Westerback | |
2014-10-26 | Allow the current lease to expire without causing dhclient to seg | Kenneth R Westerback | |
fault when it tries to get a new one. Problem spotted by weerd@ | |||
2014-10-26 | Add a format specifier for the printf. | Brad Smith | |
ok guenther@ | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-10-23 | mention hw.perfpolicy; Daniel Jakots | Theo de Raadt | |
2014-10-22 | Fix error reporting when reallocarray() fails. OK miod@ | Todd C. Miller | |
2014-10-22 | Use svc_getreq_poll() instead of svc_getreqset2() for mountd's | Todd C. Miller | |
custom svc_run loop. From Dimitris Papastamos. OK schwarze@ | |||
2014-10-18 | Simple malloc() to reallocarray() conversion to potentially avoid integer | Doug Hogan | |
overflow. ok deraadt@ | |||
2014-10-18 | Convert malloc() with a size var using multiplication to reallocarray(). | Doug Hogan | |
Avoid assigning the size unless reallocarray() succeeds to avoid overflow. ok deraadt@ | |||
2014-10-17 | Nuke 'increase' which was always set to 1. Replace the if/else that tested | Kenneth R Westerback | |
its value with the body of the if. No functional change. 'increase' was orphaned when r1.139 eliminated support for 'medium' statements in dhclient.conf. Stumbled over while looking into a problem for weerd@. | |||
2014-10-17 | trivial replacement with reallocarray() | Theo de Raadt | |
2014-10-14 | rely on reallocarray() to give us the overflow detection, rather than | Theo de Raadt | |
hand-crafting a solution. ok millert | |||
2014-10-12 | DH_compute_key() returns -1 on error but this was not | Jonathan Gray | |
handled by testing the result with a negation. Ralf Horstmann discovered iked would segfault when connecting from Strongswan on Android because of this and supplied the patch to fix the problem. ok reyk@ | |||
2014-10-11 | slightly more complicated reallocarray conversion. always realloc* rather | Theo de Raadt | |
than the silly test which realloc* does itself, and massage the inode sizes more carefully ok doug | |||
2014-10-11 | Userland reallocarray() audit. | Doug Hogan | |
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@ | |||
2014-10-09 | no more modules | Ted Unangst | |
2014-10-09 | no more modules | Ted Unangst | |
2014-10-09 | fairly obvious reallocarray() conversion, where the size is recalculated | Theo de Raadt | |
only on success. | |||
2014-10-09 | obvious reallocarray() conversions | Theo de Raadt | |
2014-10-08 | trivial use of getreallocarray() | Theo de Raadt | |
2014-10-08 | trivial use of reallocarray | Theo de Raadt | |
2014-10-08 | replace internal erealloc() with ereallocarray(), and then use it to | Theo de Raadt | |
spot mult int overflow | |||
2014-10-08 | tedu the tedu code that tedu forgot to tedu when he tedued the other part | Joel Sing | |
of this tedu code. | |||
2014-10-08 | trivial use of reallocarray() | Theo de Raadt | |
2014-10-02 | dhclient: add support for RFC 3442 local subnet routes | Matthew Dempsky | |
If the classless-static-routes option specifies the router IP address as 0.0.0.0, then that indicates the route is a "local subnet route" that should be directly routable via the interface. This reuses the "route add -net $dest -netmask $mask -cloning -iface $addr" trick suggested by claudio@ for r1.272. Restores interoperability with Google Compute Engine after recent GCE DHCP server changes. ok krw, mpi | |||
2014-10-02 | no more sl(4); | Jason McIntyre | |
2014-10-01 | Remove some sl(4) references. | Martin Pieuchot | |
2014-10-01 | tedu slattach, part of the slip show. | Martin Pieuchot | |
2014-10-01 | Unhook slattach(8) it has been deprecated for a long time and will hit | Martin Pieuchot | |
the Attic soon. | |||
2014-09-27 | Fix mmap() calls that check for a result other than MAP_FAILED. | Doug Hogan | |
ok tedu@ | |||
2014-09-20 | provide a hint for enabling jumbo frames, since we removed it from the | Jason McIntyre | |
driver pages; | |||
2014-09-15 | Remove non-standard <sys/dkstat.h> header. It has not contained anything | Miod Vallat | |
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@ | |||
2014-09-13 | Replace all queue *_END macro calls except CIRCLEQ_END with NULL. | Doug Hogan | |
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@ | |||
2014-09-08 | Additional cleanup for procfs removal | Doug Hogan | |
ok guenther@ | |||
2014-09-08 | Delete procfs; it's always had races and is now unused: no one noticed for | Philip Guenther | |
months that I broke it before the 5.5 release. confirmed as not being required by ports by sthen@, ajacoutot@, dcoppa@ | |||
2014-09-08 | obvious cases of missing .An; | Ingo Schwarze | |
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes | |||
2014-09-07 | Reuse xtrfile() to avoid duplication. | Philip Guenther | |
Casting from long to int for a size_t argument is dumb. Calling warnx() right before err() is silly. ok millert@ | |||
2014-09-06 | inodesc.id_entryno holds a file size, so upgrade it from int to u_int64_t; | Philip Guenther | |
this fixes handling of very large files on FFS2. Correct a copy-n-pasto that rendered useless the check for allocated fragmented that are marked free in the bitmap. allocdir() returns an inode number, so return an ino_t. sizeof()*N should be printed with %zu, while direct and indirect block numbers should be cast to (long long) use %lld inodesc.id_entryno fix based on a diff from David Vasek <vasek@fido.cz> ok krw@ otto@ | |||
2014-09-03 | Mark msg() and panic() as printf-like and fix the format error it turns up | Philip Guenther | |
ok krw@ | |||
2014-09-03 | Kill off compat for systems that don't define NAME_MAX or that lack stuff | Philip Guenther | |
like, oh, strchr() and prototypes for read() and write(). Mark quit() as both __dead and printf-like, and dumpabort() as __dead. ok krw@ | |||
2014-08-29 | mount_mfs does not require disklabel to be run; | Jason McIntyre | |
diff From: Navan Carson confirmed/ok mikeb | |||
2014-08-27 | Nuke net.inet6.icmp6.rediraccept and allow redirects on interfaces | Florian Obser | |
with autoconf enabled. If one is doing SLAAC one does already trust link local icmp6 so the policy for icmp6 redirects should be the same. pointed out by & OK bluhm@; OK henning@ |