itojun
cbd684883f
change ai_addrlen to socklen_t. now it conforms to
draft-ietf-ipngwg-rfc2553bis-03.txt. backward compatibility concern:
- should be safe to change signed to unsigned, as we never return
negative value.
- sizeof(int) is 4 for all archs, so there's no size change with socklen_t
(= u_int32_t)
commented by deraadt.
24 years ago
pjanzen
a49f25b6d8
_PW_NAME_LEN doesn't include the NUL, MAXLOGNAME does.
24 years ago
deraadt
71a95aef09
move utmp to large format, usernames to 32 chars; downsj
24 years ago
naddy
634498ce2d
Include <nl_types.h>. Conforms to SUSv2, mirrors NetBSD. ok deraadt@
24 years ago
niklas
d343548859
$OpenBSD$
24 years ago
aaron
1db9ae3cca
indent
24 years ago
angelos
c3cb2d2eec
Amend c_count comment per PR 1576.
24 years ago
todd
f0cf4fb1ff
spelling
24 years ago
millert
af6569737a
Guard agaist multiple inclusion
Add missing __BEGIN_DECLS and use __P macro in function prototypes
24 years ago
millert
41df7a09a4
Guard against multiple inclusion
24 years ago
aaron
0cc0696d69
Better english; from provos@
24 years ago
brad
29274a5250
*cough*someone forgot to remove libgmp*cough*
24 years ago
deraadt
fb625bc33f
use __x__ formats for __attribute__ arguments; guenther@gac.edu
24 years ago
millert
8256513959
Add references to new files.
24 years ago
millert
21581886d8
BSD authentication routines from BSDI. Presently this is not used but
the login_* helper programs and other support will be committed in the
near future.
24 years ago
millert
518931599f
Add pw_dup(3), a function to copy 'struct passwd'. It is allocated as
a single chunk with the strings pointing elsewhere in the buffer so
a simple free() of the struct passwd * is all that is needed to decallocate.
24 years ago
millert
6c4a3507c1
Missed this in the strnvis(3) commit.
24 years ago
millert
582d06fd67
Add readpasasphrase(3), a more flexible getpass(3) replacement.
getpass(3) is now implemented in terms of readpasasphrase(3).
24 years ago
millert
106e557ee3
Remove prototypes for old BSD auth functions. New ones will live in
bsd_auth.h when BSD authentication is committed.
24 years ago
deraadt
6e360f7064
proto _rpc_dtablesize()
24 years ago
hugh
7b499760f9
Don't install ieeefp.h on vax. derradt Ok.
24 years ago
espie
36f73713ac
Remove parameter names in prototypes (always a bad idea)
24 years ago
rahnds
86604aa426
Now that powerpc has shared libraries, make certain that link.h and dlfcn.h
are created properly.
24 years ago
deraadt
1b554ab13f
install netnatm includes; stoklund@cp.dyndns.dk
24 years ago
millert
dc11be1e8a
o add missing getsid() prototype
o fix typo in getsid() that broke getsid(pid) where pid != 0
o cause getsid() and getpgid() to return EPERM if requesting the
id of a session/process group not in the current session
o check for NULL session in getsid() for exiting processes
24 years ago
espie
4cbc49a8f1
Boring... Add :L modifier to all tweakable variables tests.
Closes PR 1246
24 years ago
deraadt
1b49ff3dbc
proto svc_getreqset2
24 years ago
millert
6df46d482b
Prototype timelocal(), timegm(), and timeoff() in the non-ANSI, non-POSIX
section.
24 years ago
millert
c24c30dbae
login.conf code from BSDi. This does not include the bsd auth code
which will come later. At this stage it is primarily used for setting
resource limits.
24 years ago
mickey
70cc2f081a
from freebsd:
strtofflags/fflagstostr to convert file flags
to/from binary from/into a string as used in chflags(1).
use u_int32_t instead of u_long (as freebsd does).
increase libc minor.
millert@ ok.
24 years ago
itojun
0194f6fae7
ipv6 support in resolver. "nameserver" line in /etc/resolv.conf now takes
ipv6 address.
24 years ago
deraadt
fbafed2c42
er, no _PATH_NOLOGIN is the "do not let users login file"; sigh@kuzirabekon.econ.nagasaki-u.ac.jp
24 years ago
millert
f1af74c19a
nologin lives in /sbin
24 years ago
itojun
485eb3c523
correct type of 2nd argument to meet RFC2553. (this should raise no ABI
problem due to type promotion). PR 1228.
24 years ago
millert
d93b42ba80
Minor comment changes:
o utmp lives in /var/run, not /etc
o document EX_CONFIG
24 years ago
deraadt
703da8f559
prototyping for p{read,write}{,v}
24 years ago
millert
258337bfb7
Add srandomdev() from FreeBSD for use by sendmail and others.
24 years ago
millert
300af685b4
Expose MDXTransform functions to be consistent with sha1 and rmd160.
24 years ago
millert
b5559ee3ec
Add FNM_NOSYS, meaning "The implementation does not support this function",
for XPG conformance. We don't use it but programs might check for it.
24 years ago
todd
d29d5ce8db
implimented -> implemented
24 years ago
niklas
f7dac6d2af
A more normal way of building kerberos, faster, and it works with SUDO
25 years ago
millert
e079ac6af2
Make P_tmpdir point to /tmp/ not /var/tmp
Really, there should be a way to make configurable by the admin
at runtime (say, a gettmpdir() function).
25 years ago
todd
9c283bc975
$OpenBSD$
25 years ago
deraadt
2e407ed6c6
install crypto headers
25 years ago
hin
7e0be9982c
Include files for KerberosIV have moved.
(ok art@)
25 years ago
itojun
d148e30e7f
add freeifaddrs(3), which reclaims region allocated by getifaddrs(3).
in sync with kame and bsdi.
25 years ago
itojun
68fe588191
add getifaddrs(3), from bsdi4.
this will help future apps from complexity of SIOCGIFCONF.
NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.
25 years ago
millert
b98db3f883
Use an _BSD_FOO_T_ type declaration for off_t in machine/ansi.h to allow
off_t to be visible in stdio.h even in strict ansi mode. This is needed
for ftello()/fseeko() and it allows us to remove the horrible fpos_t hack.
25 years ago
millert
662058799b
Add fseeko() and ftello() -- versions of fseek() and ftell() that use off_t.
Also make fsetpos() and fgetpos() use fseeko() and ftello() respectively
since fpos_t is actually a 64bit type.
25 years ago
deraadt
e462b3f68d
do not install /usr/include/dev/microcode/
25 years ago