summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getlogin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minimize #includes, particularly to avoid thread_private.hguenther2017-08-121-3/+1
| | | | ok tedu@
* Eliminate userspace caching by getlogin_r/setlogin; make the getloginguenther2016-03-301-53/+8
| | | | | | | | syscall behave exactly like userspace getlogin_r() and rename it to match. Eliminate the reduced-to-no-op wrappers of the syscalls. Eliminate the unnecessary per-thread static buffering by getlogin(). ok kettenis@ deraadt@
* Wrap <unistd.h> so that internal calls go direct and they're all weak symbolsguenther2015-09-121-1/+2
| | | | Delete unused 'fd' argument from internal function oldttyname()
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-301-6/+7
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* once again: library routines should not check pointers and what errnoderaadt2005-10-191-4/+1
| | | | | | with EFAULT. programmers ignore the error returns. please, please, please -- we want to crash so that the programmer will become aware of the bug and fix it instead. ok otto
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansification; checked by pvalderaadt2003-06-111-7/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* 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.millert2002-02-161-3/+3
|
* _THREAD_PRIVATE_MUTEX_UNLOCK() on error before returning; millert@ ok.fgsch2002-01-231-2/+4
|
* _THREAD_PRIVATE_* macros changedd2000-01-061-3/+3
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-8/+57
| | | | | | | | | | | | | 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
* Clean up some -Wall complaints.millert1997-07-091-1/+2
|
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+64