summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Add the following ACL editing functions:jedgar2001-03-2218-2/+1467
| | | | | | | | | | acl_add_perm, acl_clear_perms, acl_copy_entry, acl_create_entry, acl_delete_perm, acl_get_permset, acl_get_qualifier, acl_get_tag_type, acl_set_permset, acl_set_qualifier, acl_set_tag_type This brings us within 4 functions of a full ACL editing library. Reviewed by: rwatson
* Remove struct cmessage from sys/socket.h and reintroduce the privatealfred2001-03-222-2/+9
| | | | | | definitions. Requested by: wollman
* Hopefully fix some of the bugs in passing credentials over UNIX ↵alfred2001-03-222-26/+32
| | | | | | | | | | | | domain sockets. Make struct cmessage visible from socket.h (about 4 places were defining it for themselves which wasn't good) Make __rpc_get_local_uid() useable and give it prototype that's visible. Fix some issues with printing out usernames from rpcbind and keyserv.
* Get rid of non-standard %E[Ff] formats, userland apps already fixedache2001-03-213-33/+4
|
* Oops, back out prev. change - POSIX require %y in d_fmtache2001-03-211-4/+4
| | | | Cosmetique - use exact POSIX string for %c
* Replace %y with %Yache2001-03-211-1/+1
|
* whitespace cleanupalfred2001-03-201-16/+14
|
* Fixed some typos.ru2001-03-203-3/+3
|
* This manpage is heavily based on the old rpc.3 manpage, andru2001-03-201-1355/+1139
| | | | | | | should have been repo-copied from it in the first place. Apply all of our fixes up to and including revision 1.14 to the original rpc.3 manpage, including conversion to mdoc(7).
* Removed the second copy of the manual page!ru2001-03-201-311/+0
|
* Removed duplicate $FreeBSD$.ru2001-03-201-1/+0
|
* Make it clear who can and can't set the UF_NODUMP, UF_OPAQUE, anddd2001-03-191-4/+7
| | | | | | | SF_ARCHIVED file flags. PR: 25227 Approved by: nik
* Introduce the GLOB_MAXPATH flag, which allows the user to limit thejlemon2001-03-192-39/+59
| | | | | | | number of paths which glob(3) will return. Remove the hardcoded limit from the last commit, which restores the previous unbounded behavior. Document the new flag in the manual page.
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-1993-7262/+16968
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Implement D_MD_ORDER (local extension) to get month/day order from localeache2001-03-191-0/+3
|
* mdoc(7) police:ru2001-03-192-41/+29
| | | | | | | | | - lowercase Nd argument - mark function arguments with Fa - mark defined values with Dv - simply copying POSIX text for RETURN VALUES and ERRORS sections is not always a good idea. POSIX uses the word "shall" indicating the behavior the correct implementation should follow.
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-191-7/+7
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* Add the following POSIX 1003.1e functions and man pages:jedgar2001-03-195-1/+375
| | | | | | | | | o acl_calc_mask(): calculates the ACL mask entry associated with the given ACL. o acl_delete_entry(): remove a specified ACL entry from the given ACL. Approved by: rwatson
* Fix typo in the commentache2001-03-181-1/+1
|
* Relax local FreeBSD restrictions on 3 chars abbrev. name length and %c formatache2001-03-185-37/+37
| | | | | | | | | | | | since they not allows POSIXly legal locale data. Currently, if relaxed form POSIXly legal locale data will be used right now, some programs will be broken, but it means that either locale data or programs must be fixed, not the library. Introduce non-standard md_order (month/day order) locale field to be used later via nl_langinfo(). Currently %EF and %Ef emulated using this field, but they planned for remove in future in favour of nl_langinfo() test field. Implement %F per POSIX
* Make 'A' and 'a', 'B' and 'b' the same, per POSIXache2001-03-181-26/+16
|
* Nuke non-standard EAI_RESNULL.ume2001-03-172-13/+0
|
* Fix type-odillon2001-03-161-1/+1
| | | | Submitted by: okazaki
* Bump MAX_GLOBENTRIES up to 16384, so it is a power of two. Addjlemon2001-03-161-1/+7
| | | | | | some comments explaining that this is an arbitrary limit. Requested by: jkh
* Correct descriptions of SOCK_RDM and SOCK_SEQPACKET.dd2001-03-161-2/+2
| | | | | | PR: 25797 Submitted by: Yuko Sasaki <yuko@veltec.co.jp> Approved by: nik
* Correct spelling of MNT_ASYNC.dwmalone2001-03-151-2/+2
| | | | | PR: 25835 Submitted by: Tony Finch <dot@dotat.at>
* Limit the number of paths that glob can return to MAX_GLOBENTRIES, whichjlemon2001-03-151-0/+7
| | | | | | | is currently set to 10000. This is intended to prevent glob from running amok when a highly recursive path is provided (such as "../*/../*/../*/...") Reviewed by: Diane Bruce <db@db.net>, jhb
* Mention that MAXHOSTNAMELEN includes space for the NUL.brian2001-03-151-0/+2
|
* o To support new EA interface with explicit namespaces, introduce tworwatson2001-03-151-0/+75
| | | | | | | | | | | utility functions which convert between string namespace names and numeric constants used by the interface. Right now, two namespaces are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and EXTATTR_NAMESPACE_USER ("user"). These functions are used by various userland EA utilities, rather than hard coding the routines all over the place. Obtained from: TrustedBSD Project
* Make tdelete(3), tfind(3), and twalk(3) links to tsearch(3).dd2001-03-151-0/+1
| | | | Approved by: nik
* o Update copyright dates.rwatson2001-03-1310-98/+107
| | | | | | | | o Rename internal library functions so that they are prefixed with _posix1e or _POSIX1E, removing them from the application namespace (and potential conflict with other ACL functions elsewhere in the system). Obtained from: TrustedBSD Project
* Document the rest of the possible return codes.dd2001-03-131-0/+12
| | | | | PR: 25188 Approved by: nik
* .St -p1003.1g -> .St -p1003.1g-2000.ru2001-03-123-4/+4
|
* This is the getsid() we are talking about, not setsid().ru2001-03-091-1/+1
| | | | | PR: docs/25626 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
* Submitted by: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org>dec2001-03-082-0/+2
| | | | | | | | | | | | | Reviewed by: David Cross <dec@freebsd.org>, jkh <jkh@freebsd.org> Approved by: jkh <jkh@freebsd.org> Obtained from: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org> We have been running this patch on a production NIS server for 2.5 weeks now. Normally we would have ypserv die at least once a week, and often many times a day. This patch treats and error from select as zeroing out the FD_SET to indicate that no fds are ready for reading. This is safe because the rpc code always re-inits the FDSET before calling select.
* Use relative paths to find byte_swap_*.S to make it easier to use thesedfr2001-03-064-4/+4
| | | | from libstand.
* Make this compile. Still need to write/borrow a working setjmp.dfr2001-03-061-0/+1
|
* Use ieee floats on ia64.dfr2001-03-061-1/+1
|
* Use the right format string for printing ULONG_MAX.dwmalone2001-03-051-2/+2
|
* Fix style nit.obrien2001-03-051-1/+1
|
* Fix style breakage.obrien2001-03-051-0/+1
|
* Fix style that got corrupted.obrien2001-03-051-17/+17
|
* Fix FreeBSD id style breakage from rev 1.17obrien2001-03-051-1/+1
|
* Use our standard .c rcsid format.obrien2001-03-051-1/+2
|
* Fix copyright breakage in rev 1.2.obrien2001-03-051-0/+7
| | | | We *cannot* remove clause #4 from the Univ of California's license.
* Correct a comment.obrien2001-03-051-1/+1
|
* Fix style breakage in rev 1.3obrien2001-03-051-0/+1
|
* Fix style bug that was introduced.obrien2001-03-051-0/+1
|
* Change mon_decimal_point from "." to "" (N/A>) as it is specified by POSIX forache2001-03-031-1/+1
| | | | POSIX locale.
* Actually implement T_FMT_AMPMache2001-03-021-1/+1
|
OpenPOWER on IntegriCloud