summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/auth_unix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for timeconting in userland.pirofti2020-07-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This diff exposes parts of clock_gettime(2) and gettimeofday(2) to userland via libc eliberating processes from the need for a context switch everytime they want to count the passage of time. If a timecounter clock can be exposed to userland than it needs to set its tc_user member to a non-zero value. Tested with one or multiple counters per architecture. The timing data is shared through a pointer found in the new ELF auxiliary vector AUX_openbsd_timekeep containing timehands information that is frequently updated by the kernel. Timing differences between the last kernel update and the current time are adjusted in userland by the tc_get_timecount() function inside the MD usertc.c file. This permits a much more responsive environment, quite visible in browsers, office programs and gaming (apparently one is are able to fly in Minecraft now). Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others! OK from at least kettenis@, cheloha@, naddy@, sthen@
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* delete old lint ARGSUSED commentsguenther2015-11-011-2/+1
|
* Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.guenther2015-09-131-1/+3
| | | | | | Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h> ok deraadt@
* Delete 3 more stderr messages, right before returning a proper error.deraadt2015-09-021-2/+2
| | | | Code from way in the past.
* Remove all bogus writes to stderr. Only explicit requests shouldderaadt2015-09-011-8/+3
| | | | | go that way. ok miod beck
* Oracle has re-licensed sunrpc under a three-clause BSD license.millert2010-09-011-28/+29
| | | | Update our sources appropriately. OK deraadt@ jsg@
* eliminate call to abort(), which is very bad in libs. I forgat howotto2007-03-251-6/+9
| | | | | this diff came into my tree, apologies for not naming the contributor. ok tedu@ deraadt@
* add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -ggrunk2006-11-101-1/+18
| | | | | | working again. help from millert@, ok deraadt@ pedro@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansify. ok deraadt@ jaredy@otto2005-04-011-23/+10
|
* Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointedkrw2005-01-081-4/+4
| | | | | | out by mickey@, seconded by millert@. ok deraadt@.
* do not leak if mem_alloc failsderaadt2003-09-201-1/+4
|
* label abort() from inside library as ILLEGALderaadt2002-01-021-3/+3
|
* prototype cleanupderaadt2001-09-151-23/+23
|
* plug many memory leaksderaadt2001-03-031-1/+2
|
* fix includesderaadt2000-08-241-1/+2
|
* alphabetize function forward decls for prettinessmillert1998-12-201-3/+3
|
* clarify gethostname() callderaadt1998-07-091-2/+2
|
* avoid more abort()deraadt1997-11-081-3/+3
|
* verf is a ptrderaadt1997-07-171-4/+4
|
* Clean up lint and compile warningstholo1996-12-141-3/+6
|
* memcpy needs proto from string.h.etheisen1996-11-141-1/+2
|
* Remove dead codetholo1996-09-151-2/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-7/+2
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* bcopy->memcpy & tagderaadt1996-07-201-2/+3
|
* Pull prototypes into scopetholo1996-03-251-5/+6
| | | | Remove graticious casts
* initial import of NetBSD treederaadt1995-10-181-0/+324