guenther
9130ff4a31
strsignal() was standardized in POSIX-2008
ok millert@
12 years ago
guenther
8bebb650be
strsignal() was added to POSIX-2008; strerror_r() was in the base
of POSIX-2001, without the XSI qualifier. Adjust conditionals to match.
ok millert@
12 years ago
guenther
63956e38b6
Provide the old prototypes for scandir() and alphasort() for code that
requests the pre-standardized version
requested by millert@
12 years ago
gsoares
342b524a97
rollback r1.76 since it may break some tools
noticed / requested by claudio@
discussed with henning / claudio / me
12 years ago
matthew
2eb7e244b3
Make DIR a private type within libc, give it the same underlying
typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro.
ok guenther@
12 years ago
guenther
cdcacd10ba
Update alphasort() and scandir()'s argument types to match POSIX:
use "const struct dirent **" instead of "const void *". Also, add
__restrict to readdir_r().
ok matthew@
12 years ago
matthew
752e801bd3
Add dirfd() as a function to libc per POSIX requirement; dirfd() macro
to be pruned later when DIR is made an opaque type.
ok guenther@; prodding by brad@ for VLC and other ports
12 years ago
fgsch
0b7e004a5c
Implement getdelim(3) and getline(3).
Prompted in a mail to tech@ by Jan Klemkow (j-dot-klemkow-at-wemelug-dot-de)
but this is based on NetBSD's implementation instead with some tweaks by me.
Further improvements would happen in tree.
ok millert@; discussed with many others
ports cleanup by naddy@, sthen@. Antti Harri, Gonzalo L. R. and myself.
12 years ago
matthew
37676d43d9
Implement execvpe(3) and posix_spawn(3) and family. Based on
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.
ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree
12 years ago
millert
4f8263876c
Fix a bug where random() always returns 0 when srandom() is seeded
with 0. Use 1 and not 0 as the first element of the state array,
similar to what glibc does. OK nicm@
12 years ago
gsoares
8f39048d9e
zap appletalk (ddp) protocol suite here
these are obsolete and no longer available in kernel
"absolutely. ok" henning@
12 years ago
sthen
26c959eccf
install the rc.d script for tftpd, ok dlg@
12 years ago
matthieu
6e0f040f44
Add libXt documentation directory. spotted by naddy@
12 years ago
matthieu
b61d96b877
New dir for libXext doc.
12 years ago
dlg
2362239f24
ypbind likes a ypserv to talk to, and ypldap pretends to be ypserv.
this diff starts ypldap before ypbind instead of after.
ok deraadt@ ajacoutot@
12 years ago
dlg
8b575c2acb
add tftpd to the network daemons list just after ftpd and ftpproxy.
reminded by mikeb@
ok sthen@
12 years ago
dlg
48e7b29449
tftpd doesnt get run from inetd now.
12 years ago
dlg
4f6d7a7784
add rc.d bits for the new standalone tftpd daemon.
mostly from Kent R. Spillner
ok sthen@ robert@
12 years ago
matthieu
6b813ac8a7
New dirs for libICE and libSM docs
12 years ago
ajacoutot
a9219b74c9
Don't include ou=People in the basedn. ypldap(8) has had netid support
for a while now and groups are usually stored outside of People.
ok sthen@
12 years ago
aoyama
65916a5a8e
Add luna88k GENERIC.MP configuration file, based on mvme88k.
ok miod@
12 years ago
otto
c5909da5cf
- Test for the retrieved page address not being NULL. This turns free((void*)1)
into an bogus pointer error instead of a segfault.
- Document that we use the assumption that a non-MAP_FIXED mmap() with
hint 0 never returns NULL.
12 years ago
robert
fcf01602a4
enable nginx
12 years ago
robert
0f4ae4469a
these files are not needed here, they are going to get installed from
usr.sbin/nginx using the distribution target
12 years ago
krw
b50dd6d963
Fix previous fix for /altroot processing. Should now work for both
duid and device entries in fstab. As a bonus make commented out
lines in fstab in-eligable for altroot detection.
ok halex@ deraadt@
12 years ago
david
f7e9a65a75
install popa3d script; ok robert@ deraadt@
12 years ago
krw
f46ceee925
Let /altroot work with a duid-based fstab.
Reported by & fix tested by Dave Anderson. Thanks!
ok deraadt@
12 years ago
sobrado
702ebd8167
add missing authentication styles.
initially intended for YubiKey, jmc@ noted that list was out of date.
ok deraadt@, jmc@
12 years ago
guenther
b9eb8d7d32
Revert previous diff as it resulted in the wrong return code when
the last node is deleted. Instead, resolve the Coverity warning
by returning (node *)1 when you delete the root node.
based an idea from millert@. ok otto@
12 years ago
giovanni
5aafe9b60b
Update pkg names revision for 5.1
13 years ago
dhill
2390f01b84
hook login_yubikey to the build
ok deraadt
13 years ago
sthen
7d90310832
Fix pexp for sendmail; it can be "sendmail: rejecting" as well as accepting.
From danh@, ok aja@ giovanni@
13 years ago
jmc
12a4b62866
fix SEE ALSO;
13 years ago
guenther
53bd3de409
Add stpcpy() and stpncpy(), pointless crap that made it into POSIX.
Includes friendly linker warning to wake up those dumb enough to use it.
Committing for kettenis@, who ran away to the hills after writing it
13 years ago
deraadt
1add16fe72
net_addrcmp() dies. found out to be a horrific function by eric
ok guenther
13 years ago
camield
8e1bed947f
Use nsdc to reliably stop nsd.
ok ajacoutot sthen
13 years ago
jmc
ba1b360181
grammar;
13 years ago
espie
5f50153fda
this is sparta^WPOSIX 2008
okay millert@
13 years ago
nigel
765277c366
Replace _SELECT_DECLARED with _SELECT_DEFINED_
Ok sthen@, millert@, dcoppa@
13 years ago
deraadt
4aadf85516
crank to 5.1-beta
13 years ago
miod
2a00e439f5
Add disabled getty lines for acpi(4) and dca(4) lines, better late than never.
13 years ago
guenther
da4f3c5cb1
Add rtable id and thread id to struct kinfo_proc (and fix process id)
and add an 'rtableid' keyword to ps.
Add rtable id, thread id, and socket splice info to struct kinfo_file2
and make fstat display socket splice information.
Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major
Socket splice info and corrections from bluhm@ "Lovely" deraadt@
13 years ago
kettenis
512ab376b6
C99 says that both <wchar.h> and <stdint.h> should define WCHAR_MIN/MAX.
ok beck@, guenther@, millert@, miod@
13 years ago
kettenis
3333a3c88c
The prototype for pthread_sigmask(2) is supposed to live in <signal.h>
instead of <pthread.h>.
ok guenther@, millert@
13 years ago
phessler
b318654d5a
only add the rdomain for hostname lookups, when we have a hostname to lookup.
noticed by zepard at gmail
OK henning@
13 years ago
ajacoutot
979dc6adeb
sndiod(1) does not 'reload', so set rc_reload to NO.
ok ratchov@
13 years ago
miod
c62ea48338
regen
13 years ago
miod
72f5df483a
Add audio nodes on hp300.
13 years ago
ajacoutot
0c53f1364d
Adapt after recent rc scripts change.
with input from and ok sthen@
13 years ago
ajacoutot
feab9b84d0
Move mandatory flags from daemon_flags to daemon.
ok sthen@
13 years ago