#
1.21 |
|
22-Jan-2024 |
deraadt |
Similar to getpwnam(3) and getnetgrent(3), it is better to call libc-private __hash_open() than the generic dbopen(3) which pulls in all 3 database backends. ok millert
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
|
#
1.20 |
|
14-Apr-2017 |
deraadt |
whitespace
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.19 |
|
09-Nov-2016 |
millert |
Fix a use after free error introduced in rev 1.18 by only calling closedir() outside the loop. OK deraadt@ guenther@ markus@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.18 |
|
27-Jun-2016 |
espie |
make proper use of fstatat, as suggested by guenther@ okay millert@
|
#
1.17 |
|
27-Jun-2016 |
espie |
make the fallback code more accurate (in particular, it should return names 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@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.16 |
|
12-Oct-2015 |
naddy |
When isatty() was switched to F_ISATTY, the inline copy in ttyname() was forgotten. Just call isatty(). ok deraadt@
|
#
1.15 |
|
12-Sep-2015 |
guenther |
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname()
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.14 |
|
19-Jun-2015 |
jca |
Tweak whitespace and remove dangling, unneeded "else".
No functional change.
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
|
#
1.13 |
|
23-May-2007 |
kurt |
Remove unnecessary locking. There is no need for serializing calls to these functions and each use of the fd is already protected. No externally visible changes. okay marc@ millert@
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.12 |
|
08-Aug-2005 |
espie |
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
|
#
1.11 |
|
25-Mar-2005 |
otto |
deregister (and deauto!). ok millert@ marco@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
18-May-2004 |
jfb |
ansify function definitions and zap some `register'
ok millert@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.9 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.7 |
|
06-Jan-2000 |
d |
_THREAD_PRIVATE_* macros changed
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.6 |
|
20-Nov-1998 |
d |
Add thread-safety to libc, so that libc_r will build (on i386 at least). All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.5 |
|
27-Aug-1998 |
deraadt |
re-initialize the tty buffer with "/dev/" everytime through; spotted by d
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.4 |
|
09-Jul-1997 |
millert |
Clean up some -Wall complaints.
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.3 |
|
15-Sep-1996 |
tholo |
Remove dead code Remove unused variables Silence some warnings lint(1) is your friend
|
#
1.2 |
|
19-Aug-1996 |
tholo |
Fix RCS ids Make sure everything uses {SYS,}LIBC_SCCS properly
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.20 |
|
14-Apr-2017 |
deraadt |
whitespace
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.19 |
|
09-Nov-2016 |
millert |
Fix a use after free error introduced in rev 1.18 by only calling closedir() outside the loop. OK deraadt@ guenther@ markus@
|
Revision tags: OPENBSD_6_0_BASE
|
#
1.18 |
|
27-Jun-2016 |
espie |
make proper use of fstatat, as suggested by guenther@ okay millert@
|
#
1.17 |
|
27-Jun-2016 |
espie |
make the fallback code more accurate (in particular, it should return names 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@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.16 |
|
12-Oct-2015 |
naddy |
When isatty() was switched to F_ISATTY, the inline copy in ttyname() was forgotten. Just call isatty(). ok deraadt@
|
#
1.15 |
|
12-Sep-2015 |
guenther |
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname()
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.14 |
|
19-Jun-2015 |
jca |
Tweak whitespace and remove dangling, unneeded "else".
No functional change.
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
|
#
1.13 |
|
23-May-2007 |
kurt |
Remove unnecessary locking. There is no need for serializing calls to these functions and each use of the fd is already protected. No externally visible changes. okay marc@ millert@
|
Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.12 |
|
08-Aug-2005 |
espie |
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
|
#
1.11 |
|
25-Mar-2005 |
otto |
deregister (and deauto!). ok millert@ marco@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
18-May-2004 |
jfb |
ansify function definitions and zap some `register'
ok millert@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.9 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.7 |
|
06-Jan-2000 |
d |
_THREAD_PRIVATE_* macros changed
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.6 |
|
20-Nov-1998 |
d |
Add thread-safety to libc, so that libc_r will build (on i386 at least). All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.5 |
|
27-Aug-1998 |
deraadt |
re-initialize the tty buffer with "/dev/" everytime through; spotted by d
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
|
#
1.4 |
|
09-Jul-1997 |
millert |
Clean up some -Wall complaints.
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.3 |
|
15-Sep-1996 |
tholo |
Remove dead code Remove unused variables Silence some warnings lint(1) is your friend
|
#
1.2 |
|
19-Aug-1996 |
tholo |
Fix RCS ids Make sure everything uses {SYS,}LIBC_SCCS properly
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|