| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
syslogd will fill it in immediately upon reception on the other side of
sendsyslog(2). Our libc only talks to our syslogd, which will fix the
timestamp before forwarding. syslog_r has done this for a long time
already.
ok tedu bluhm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- delete the commented out setgrfile bits, as well as the MLINK
- rename getgr{nam,gid}_r()'s 'buffer' parameters to 'buf' to be
consistent with getpwnam(3) and practically all other section 3 manpages
- we have sysconf(_SC_GETGR_R_SIZE_MAX) now, so uncomment and revise the text
For getpwnam.3:
- rename buflen to bufsize for consistency
- rewrite the description of the getpw{nam,uid}_r functions to
match the better getgr{nam,gid}_r() description, adding sysconf() bits
Add sysconf(3) to SEE ALSO for both
encouraged by schwarze@
ok millert@
|
| |
|
| |
|
|
|
|
|
|
| |
the resolver.
ok millert@ deraadt@
|
|
|
|
|
|
|
| |
This extension never made it to other systems. (pledge is also happy
with this. The idea of DNS @ any port collides with pledge encouraring
differentiation between DNS and non-DNS sockets)
ok phessler jung sthen kettenis
|
|
|
|
|
| |
With input from jmc, zhuk, schwarze, and bentley.
ok jmc zhuk bentley
|
|
|
|
|
|
| |
and ldexp().
ok millert@
|
|
|
|
|
| |
Incorrect text pointed out by tedu@
ok deraadt@ millert@ tedu@
|
|
|
|
|
| |
become responsible for calling endpwent.
ok deraadt
|
|
|
|
| |
Strip out unnecessary #includes and use NULL instead of (struct rusage *)0
|
|
|
|
|
|
| |
doesn't get pulled into all static executables
ok millert@ jca@
|
|
|
|
|
|
|
|
| |
Wrap __cxa_{atexit,finalize}() so the call from exit() goes direct
Switch regress/lib/libc/atexit/ to be built with -static so that it can
still access __atexit*
ok millert@ jca@
|
|
|
|
|
|
|
| |
d_packname as a simple field. Also nuke the access #defines, and
support for b0 and b1 capabilities in disktab.
ok deraadt@ miod@
|
|
|
|
|
|
|
|
|
| |
are the errno messages and signal names. Everything else is in
English. We are not planning to translate more text. Running a
mixed system with less than 1% of the text in native language makes
no sense. So remove the NLS support from libc messages. The
catopen(3) functions stay as they are.
OK stsp@ mpi@
|
|
|
|
|
|
|
| |
wrappers. To keep uses from crawling back in, mark signal() as
deprecated inside libc.
ok deraadt@
|
| |
|
|
|
|
|
|
| |
several. Switch from FILENAME_MAX to PATH_MAX (it's for open(), not fopen()).
ok deraadt@ tedu@ krw@
|
|
|
|
| |
ok jmc@
|
|
|
|
|
|
|
|
| |
- include comment
- libc errlist
- nls C msg
- man page
OK tedu@
|
| |
|
|
|
|
|
|
| |
and out of boundary accesses.
with input by miod, ok stsp
|
|
|
|
|
|
|
|
| |
list of interface names. At the same time switch if_nametoindex(3) and
if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3).
if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by
pledge(2).
With and OK deraadt@
|
|
|
|
|
|
|
| |
and check WIFEXITED() only if it returns != -1. Delete the logging of
errors other than ECHILD: EFAULT and EINVAL are impossible here.
ok deraadt@ millert@
|
|
|
|
|
|
| |
exiting, and loop the waitpid() on EINTR
ok deraadt@ millert@
|
|
|
|
|
|
|
| |
SIGINT and SIGQUIT with sigaction() instead of signal() so that all bits
are preserved.
ok deraadt@ millert@
|
|
|
|
|
|
|
|
|
| |
into libc, and move pthread_sigmask() as well (just a trivial wrapper).
This provides consistent handling of SIGTHR between single- and multi-threaded
programs and is a step in the merge of all the libpthread overloads, providing
some ASM and Makefile bits that the other wrappers will need.
ok deraadt@ millert@
|
|
|
|
|
|
|
| |
ps-style programs (there are quite a few in the tree, including tmux).
"vminfo" exposes a bit more system operation information, which many
observation programs want (such as top). settime allows setting the system
time, and will be used to pledge-protect the last ntpd process.
|
| |
|
|
|
|
|
| |
flag instead.
ok guenther tedu semarie
|
|
|
|
|
|
| |
dnssonnect() calls. Be a bit careful crossing over this, need a kernel
no older than Monday.
ok guenther tedu semarie
|
|
|
|
| |
ok guenther@
|
| |
|
|
|
|
| |
ok guenther tedu semarie
|
| |
|
|
|
|
| |
ok miod@ jsg@
|
|
|
|
|
|
|
|
|
|
|
| |
system calls. These signal to the pledge kernel code that a DNS
transaction is happening. These special sockets only work well with
port 53 (there are some cute plans...).
Programs calling pledge "inet" will not work! You need pledge "dns",
and of course, you need a fairly fresh kernel.
ok guenther kettenis tedu
|
| |
|
| |
|
|
|
|
|
|
| |
No change in resulting object files
ok millert@
|
|
|
|
|
|
| |
and eliminate the now superfluous -D option
ok kettenis@ millert@
|
| |
|
|
|
|
|
|
| |
due to its kvm handling.
ok deraadt
|
|
|
|
|
|
| |
While at it, merge style and typo fixes back into nlist(3), too.
ok deraadt, jsing, millert
|
|
|
|
|
|
|
|
| |
While at it, return proper return value when encountering a stripped
binary. Instead of -1 (illegal file), it should be the amount of symbols
that were tried to be resolved.
ok millert
|
| |
|
|
|
|
|
|
| |
the truncation check immediately following it was not updated to
match. Not an issue in practice since the buffers are the same
size. OK deraadt@
|