Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Wrap <icdb.h> so that calls go direct and the symbols are all weak | 2015-11-25 | 2 | -1/+47 | ||
| | | | | ok tedu@ | |||||
* | Make using a deprecated function an error instead of just a warning | 2015-11-25 | 1 | -1/+5 | ||
| | | | | ok millert@ kettenis@ | |||||
* | syslog() here is pointless; ok millert | 2015-11-25 | 1 | -2/+0 | ||
| | ||||||
* | Rather than using syslog(3) (which pulls in snprintf), creating the report | 2015-11-25 | 1 | -4/+14 | ||
| | | | | | | | | string using simpler strings functions and use sendsyslog2() directly. Also, use the LOG_CONS flag so that single-user reports are more clear. Use a buffer size of 1024 (from bluhm) discussed with guenther and matthew ok millert | |||||
* | Add a syscall stub for sendsyslog2(2), and use it in syslog_r(3), passing | 2015-11-25 | 3 | -22/+9 | ||
| | | | | | | LOG_CONS to the kernel. As a result, the /dev/console opening code can be removed. ok kettenis millert beck | |||||
* | Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within | 2015-11-24 | 12 | -103/+72 | ||
| | | | | | | | libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@ | |||||
* | fix an error in NAME; ok schwarze | 2015-11-24 | 1 | -3/+3 | ||
| | ||||||
* | Document that these functions are now in strings.h. | 2015-11-24 | 7 | -19/+22 | ||
| | | | | ok millert@ | |||||
* | Don't fake a bulleted list by prefixing items with 'o'. | 2015-11-24 | 1 | -8/+8 | ||
| | | | | ok jmc@ | |||||
* | Remove support for "lookup yp" in /etc/resolv.conf. This historical | 2015-11-23 | 4 | -239/+7 | ||
| | | | | | | | | wart is incompatible with pledge, because suddenly a "dns" operation needs "getpw" access to ypbind/ypserv, etc. file + dns access is enough for everyone, sorry if you were using that old SunOS 4.x style mechanism, but it is now gone. ok semarie millert florian | |||||
* | point to mount_mfs(8), not mfs(8); | 2015-11-23 | 1 | -3/+3 | ||
| | ||||||
* | point to netintro(4) rather than (now removed) networking(4); | 2015-11-21 | 2 | -6/+6 | ||
| | ||||||
* | Document that the status argument may be NULL; OK millert@ | 2015-11-20 | 1 | -3/+4 | ||
| | ||||||
* | typo tcgetpgrp -> tcsetpgrp | 2015-11-20 | 1 | -3/+3 | ||
| | | | | ok mmcc@, yes... deraadt@ | |||||
* | mlinks for _shadow | 2015-11-18 | 1 | -1/+2 | ||
| | ||||||
* | document the _shadow functions | 2015-11-18 | 1 | -5/+17 | ||
| | ||||||
* | add a version field to prevent mayhem if different data gets stored | 2015-11-18 | 1 | -3/+7 | ||
| | ||||||
* | update for new symbols and code | 2015-11-18 | 3 | -3/+16 | ||
| | ||||||
* | Add icdb, the internal c database. A simpler replacement for the old | 2015-11-18 | 1 | -0/+367 | ||
| | | | | Berzerkeley DB code. | |||||
* | Add _shadow variants to the two popular getpw functions (uid and nam). | 2015-11-18 | 2 | -15/+69 | ||
| | | | | | | | | | This version of the function will always open the secure/shadow/master password files. Soon, the regular variants of these functions will not. (Intermixing shadow and regular gets a little weird; don't do that.) Not using struct spwd and getspwnam functions to reduce churn in callers. Should just be a one line diff in most places. ok deraadt | |||||
* | rob pierce spotted a mistake left by jmc | 2015-11-18 | 1 | -3/+3 | ||
| | ||||||
* | change passwd caches to be 4-way "associative". still primitive, but a | 2015-11-17 | 1 | -24/+62 | ||
| | | | | little better than winner take all caching. | |||||
* | minor tweaks; | 2015-11-16 | 2 | -4/+4 | ||
| | ||||||
* | Permit revoke(2) for a pledge "rpath tty" | 2015-11-16 | 1 | -2/+9 | ||
| | | | | ok millert semarie tedu guenther | |||||
* | Only perform revoke(2) on tty cdevs. Others paths return ENOTTY. | 2015-11-16 | 1 | -6/+13 | ||
| | | | | ok millert semarie tedu guenther | |||||
* | Tweak previous: rename it to fpround() to match FreeBSD | 2015-11-15 | 1 | -11/+11 | ||
| | | | | requested by kettenis@ | |||||
* | _towctrans_ext and _wctrans_init are now hidden; so drop them from the list | 2015-11-15 | 1 | -2/+0 | ||
| | ||||||
* | I got a round tuit to rename round() to roundit() to avoid gcc warning. | 2015-11-15 | 1 | -14/+14 | ||
| | | | | ok deraadt@ | |||||
* | Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in the | 2015-11-14 | 13 | -41/+80 | ||
| | | | | | | non-syscall .S source ok millert@ miod@ | |||||
* | Give clear directions on how to declare, PROTO_*() and DEF_*() new symbols | 2015-11-14 | 1 | -0/+97 | ||
| | | | | prodded by deraadt@ | |||||
* | update NAME section to include all documented functions, | 2015-11-10 | 29 | -104/+149 | ||
| | | | | | | or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | |||||
* | Document tzsetwall(). OK schwarze@ jmc@ | 2015-11-10 | 1 | -5/+26 | ||
| | ||||||
* | Split the intra-thread functionality from kill(2) into its own syscall | 2015-11-10 | 7 | -12/+119 | ||
| | | | | | | | | | | | | thrkill(2), rolling the kill(2) syscall number with the ABI change to avoid breaking binaries during during the transition. thrkill(2) includes a 'tcb' argument that eliminates the need for locking in pthread_kill() and simplifies pthread_cancel(). Switch __stack_smash_handler() to use thrkill(2) and explicitly unblock SIGABRT. Minor bump to both libc and libpthread: make sure you install a new kernel! ok semarie@ | |||||
* | libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork() | 2015-11-10 | 7 | -9/+77 | ||
| | | | | | | | | | | | stubs for the executable from crtbegin.o into libc, which lets them be excluded from static links that don't use them. For this, drop the normal crt{begin,end}S.o from libc.so: the .init and .fini sections for libc aren't called at the right times anyway, so it's good that they're unused. libc.so just needs __guard_local and the .note.openbsd.ident section, so add them to stack_protector.c for now (this will be improved) "good time" deraadt@ | |||||
* | inet(4), not inet(3); | 2015-11-08 | 1 | -3/+3 | ||
| | ||||||
* | add missing NAME entries; | 2015-11-07 | 4 | -12/+29 | ||
| | ||||||
* | Remove needless comma. | 2015-11-06 | 1 | -3/+3 | ||
| | ||||||
* | Set the name server counter in __res_state correctly if a nameserver | 2015-11-05 | 1 | -2/+2 | ||
| | | | | | from asr_ctx was skiped. Missed in previous commit. OK deraadt@ | |||||
* | After removing National Language Support (NLS) from base, stop | 2015-11-05 | 1 | -3/+2 | ||
| | | | | | | | | creating the directory /usr/share/nls. Having a non-existing default path in catopen(3) does not make sense, so remove it. If the user does not specify a NLS path, better fail early than fail because of an empty directory. Remove path form hier(7). OK stsp@ schwarze@ jmc@ | |||||
* | When filling the __res_state compatibiliy struct, a long list of | 2015-11-05 | 1 | -4/+8 | ||
| | | | | | | | | nameservers could overflow the dns search pointers. Restrict the number, size and address family of nameservers in res_init(3). This fixes a crash in sendmail. Only programs that use the bind resolver internals directly are affected. OK deraadt@ millert@ | |||||
* | document the net.inet6.ip6.ifq variables in sysctl(3) as well, referring back | 2015-11-05 | 1 | -2/+12 | ||
| | | | | | to the 'struct ifqueue' description for net.inet.ip.ifq to reduce chance of them getting out of sync. ok logan, ok/tweak mikeb | |||||
* | replace setbuf with setvbuf, from Frederic Nowak | 2015-11-04 | 3 | -9/+9 | ||
| | ||||||
* | clean up HISTORY; | 2015-11-04 | 1 | -6/+4 | ||
| | ||||||
* | Improve explanations throughout | 2015-11-03 | 1 | -108/+79 | ||
| | ||||||
* | systrace should work now | 2015-11-03 | 1 | -8/+2 | ||
| | ||||||
* | kill 0 has worked for ages, no idea how the man page could be so innacurate so long; ok guenther | 2015-11-02 | 1 | -11/+2 | ||
| | ||||||
* | (struct timezone *)NULL -> NULL | 2015-11-02 | 1 | -3/+3 | ||
| | ||||||
* | (struct timezone *)0 -> NULL | 2015-11-02 | 1 | -2/+2 | ||
| | ||||||
* | replace "can not" with "cannot"; | 2015-11-01 | 1 | -3/+3 | ||
| | ||||||
* | delete old lint ARGSUSED comments | 2015-11-01 | 23 | -73/+23 | ||
| |