Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-28 | Do not return an error in fts_open(3) if one of the paths in argv | Todd C. Miller | |
is empty. Otherwise, programs using fts(3) will report an error if one of the paths is empty instead of just treating it as a non-existent file. OK guenther@ | |||
2016-06-28 | fix a couple of errors in the page; | Jason McIntyre | |
from henning petersen, netbsd pr lib/51284 ok semarie | |||
2016-06-28 | Back out previous; otto saw a potential race that could lead to a | Theo Buehler | |
double unmap and I experienced a much more unstable firefox. discussed with otto on icb | |||
2016-06-27 | make proper use of fstatat, as suggested by guenther@ | Marc Espie | |
okay millert@ | |||
2016-06-27 | defer munmap to after unlocking malloc. this can (unfortunately) be an | Ted Unangst | |
expensive syscall, and we don't want to tie up other threads. there's no need to hold the lock, so defer it to afterwards. from Michael McConville ok deraadt | |||
2016-06-27 | make the fallback code more accurate (in particular, it should return names | Marc Espie | |
based on the actual device, not any kind of inode equality which won't hold for duplicates of the dev tree in a chroot) no bump as it doesn't change any API. okay and improvements guenther@ | |||
2016-06-26 | increase the minimum for auto rounds to 6. that was the previous low bound | Ted Unangst | |
for login.conf, and we don't want to go lower. | |||
2016-06-18 | sort previous; | Jason McIntyre | |
2016-06-18 | Remove duplicated line. | Reyk Floeter | |
OK eric@ | |||
2016-06-18 | Add net.inet.{tcp,udp}.rootonly sysctl, to mark which ports | Vincent Gross | |
cannot be bound to by non-root users. Ok millert@ bluhm@ | |||
2016-06-18 | Update column width decision | Philip Guenther | |
2016-06-18 | Document KTRFAC_{PLEDGE,EXEC{ARGS,ENV}} | Philip Guenther | |
2016-06-16 | PSEUDO_NOERROR() is used for syscalls that return now, so need to put | Philip Guenther | |
a nop in the slot skipped by the kernel on success | |||
2016-06-13 | On localhost a user program may create a socket splicing loop. | Alexander Bluhm | |
After writing data into this loop, it was spinning forever causing a kernel hang. Detect the loop by counting how often the same mbuf is spliced. If that happens 128 times, assume that there is a loop and abort the splicing with ELOOP. Bug found by tedu@; OK tedu@ millert@ benno@ | |||
2016-06-07 | remove historic note about multiple processes. mostly irrelevant today. | Ted Unangst | |
ok deraadt millert | |||
2016-06-07 | Document the net.inet.tcp.synuselimit sysctl; OK bluhm@ jmc@ | Tim van der Molen | |
2016-06-06 | Add ERRORS section, from FreeBSD. OK tedu@ | Todd C. Miller | |
2016-06-06 | Return EOVERFLOW, not ENOMEM for overflow conditions to match POSIX. | Todd C. Miller | |
2016-06-02 | Fix typo; the period should be outside the parens. From Michael McConville | Todd C. Miller | |
2016-06-01 | Document EINVAL when unlinking "." with the AT_REMOVEDIR flag. | Todd C. Miller | |
2016-06-01 | rmdir(2) should return EINVAL not EBUSY when trying to remove ".". | Todd C. Miller | |
This brings us back in conformance with POSIX rmdir(2) and rmdirat(2). OK kettenis@ | |||
2016-06-01 | Kill sysctl net.inet6.ip6.rr_prune | Jeremie Courreges-Anglas | |
We don't support Router Renumbering and there are no plans to change that. ok mpi@ | |||
2016-05-31 | correct documentation for PT_WRITE_I. it may be necessary to flush icache. | Ted Unangst | |
after explanation from kettenis | |||
2016-05-30 | Move __getcwd from ASM to HIDDEN: we don't want the literal __getcwd symbol | Philip Guenther | |
ok millert@ deraadt@ | |||
2016-05-30 | We no longer have syscalls with multiple return values. Whine about | Philip Guenther | |
long long alignment instead. | |||
2016-05-30 | Consistently reference '_end' instead of 'end' in the brk/sbrk implementation | Philip Guenther | |
ok deraadt@ | |||
2016-05-30 | The icdb magic number doesn't need to be visible to static links | Philip Guenther | |
ok tedu@ | |||
2016-05-30 | Stop publicly declaring _yp_dobind() and struct dom_binding, closing out | Philip Guenther | |
a rant Theo wrote 24 years ago. Mark __ypexclude_{add,is,free}() as hidden "get off my lawn!" deraadt@ | |||
2016-05-30 | Do setjmp cookies for eip, esp, and ebp. For bonus points, mix how | Philip Guenther | |
the cookies are used in setjmp/_setjmp/sigsetjmp so that mixing calls (e.g., longjmp on a _setjmp buffer) will scramble all three registers and jump you to a random location on a random stack! ok deraadt@ | |||
2016-05-30 | Do setjmp cookies for gp, sp, and ra | Philip Guenther | |
endian testing and ok deraadt@ ok visa@ | |||
2016-05-29 | _yp_bind(), _ypbindlist, _yp_domain, and _yplib_timeout are no longer | Philip Guenther | |
exported, so declare them as hidden to avoid pointless GOT relocations ok millert@ deraadt@ | |||
2016-05-29 | Switch from calling obsolete sig{block,setmask} to directly using the | Philip Guenther | |
sigprocmask syscall ok kettenis@ | |||
2016-05-29 | Wrap <machine/sysarch.h> to prevent overriding internal calls, for | Philip Guenther | |
alpha and mips64 ok millert@ | |||
2016-05-29 | Remove dead support for changing BDB hash algorithm and cache of alternatives | Philip Guenther | |
ok natano@ millert@ deraadt@ | |||
2016-05-29 | wxabort bits; ok deraadt | Jason McIntyre | |
2016-05-29 | Only require 4 byte alignment on ILP32 archs | Philip Guenther | |
2016-05-29 | Use .balign instead of .align; only need 8 byte alignment not 2^8 | Philip Guenther | |
2016-05-29 | Prefer AF_* over PF_* and 'address family' over 'protocol family' | Philip Guenther | |
ok jung@ | |||
2016-05-28 | The synopsis rendered very poorly because of a "Quite Ugly but | Theo Buehler | |
syntactically correct" roff mess. Follow the mdoc style guide on function pointers to improve this a little. Neglect and remove a comment that advises against trying to fix this. guidance and ok schwarze@ | |||
2016-05-28 | rcmd(3) and rcmdsh(3) use getaddrinfo(3) not gethostbyname(3). | Todd C. Miller | |
2016-05-28 | Use getaddrinfo() instead of the non-standard gethostbyname2(). | Todd C. Miller | |
OK deraadt@ jca@ jung@ florian@ | |||
2016-05-27 | W^X violations are no longer permitted by default. A kernel log message | Theo de Raadt | |
is generated, and mprotect/mmap return ENOTSUP. If the sysctl(8) flag kern.wxabort is set then a SIGABRT occurs instead, for gdb use or coredump creation. W^X violating programs can be permitted on a ffs/nfs filesystem-basis, using the "wxallowed" mount option. One day far in the future upstream software developers will understand that W^X violations are a tremendously risky practice and that style of programming will be banished outright. Until then, we recommend most users need to use the wxallowed option on their /usr/local filesystem. At least your other filesystems don't permit such programs. ok jca kettenis mlarkin natano | |||
2016-05-27 | typo fixes; Anthony Coulter | Stuart Henderson | |
2016-05-26 | The destination string is declared as "s" but referred to as "dst" | Todd C. Miller | |
in some cases. Be consistent and use "dst" everywhere like for strlcat(3) and strncat(3). From Tim Kuijsten. | |||
2016-05-26 | Use S_ISDIR instead of doing it by hand. No binary change. | Todd C. Miller | |
2016-05-26 | fputs(3) now returns a non-negative number (as opposed to 0) on successful | Todd C. Miller | |
completion, just like puts(3). Found the hard way in portable code. OK jmc@ | |||
2016-05-26 | Calculate elapsed time in poll() and subtract that from the remaining time | Jonathan Matthew | |
when restarting poll() after receiving a signal. The ruby runtime send signals to threads periodically, so without accounting for elapsed time, the timeout would never expire if we didn't get a response from a nameserver. ok deraadt@ eric@ | |||
2016-05-26 | Change the way regexec handles REG_STARTEND combined with REG_NOTBOL. | Martijn van Duren | |
The new code sees this combination as a continuation of string at offset pmatch[0].rm_so, instead of a new string which starts at that offset. This change fixes a search quirk in vi and is needed for upcoming fixes in ed/sed/vi. This new behaviour is also used in gnu regex. Lots of help from schwarze@ Manpage bits by schwarze@ OK schwarze@ and millert@ | |||
2016-05-25 | KNF with respect to indentation; no code change | Ingo Schwarze | |
2016-05-25 | Fix another one-byte buffer underflow (read access only). | Ingo Schwarze | |
This change touches code that only runs when REG_BASIC is given and the regular expression is anchored with [[:<:]] or \< _and_ uses backreferences. Simplify the logic while here, already looking at the previous character if REG_STARTEND and REG_NOTBOL are both in use, in anticipation of martijn@'s upcoming patch which will further improve REG_STARTEND. OK millert@ martijn@ Also tested by Pedro Giffuni (pfg) on FreeBSD. |