summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-19101-7264/+17108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-194-82/+58
| | | | | | | | | - 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-192-14/+14
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-191-2/+3
| | | | | | | | reserved word, causing breakage when a C++ program included libutil.h This change will be propagated elsewhere shortly. Submitted by: jkh Obtained from: TrustedBSD Project
* Add the following POSIX 1003.1e functions and man pages:jedgar2001-03-1910-2/+750
| | | | | | | | | 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
* Libraries should _never_ call exit() themselves (or its alternate spellingobrien2001-03-189-33/+33
| | | | | | | | | | | `err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh
* 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 some further style nitsbrian2001-03-171-8/+11
| | | | Pointed out by: bde
* Add a new entrypoint to the hashes in libmd:phk2001-03-1710-14/+114
| | | | | | | | | char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function. Submitted by: roam
* 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
* mdoc(7) police: ``It'' macro does not take argument in -enum lists.ru2001-03-161-2/+2
| | | | | | | (In -mdocNG, this only causes warning. In current implementation, it is fatal.) Pointy hat to: markm (for not checking stderr)
* 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
|
* Actually commit the new version of trimdomain *blush*brian2001-03-151-70/+80
| | | | Thanks for covering my blunder to: peter
* o To support new EA interface with explicit namespaces, introduce tworwatson2001-03-154-3/+155
| | | | | | | | | | | 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
* It would help if trimdomain.c was actually committed. This is a stopgappeter2001-03-151-0/+105
| | | | | | world-unbreaker until Brian Somers commits the one he intended to. Pointy Hat to: brian
* Move trimdomain() into it's own source file and tidy things up a bit.brian2001-03-142-61/+5
| | | | | | Fix disorder in the Makefile. Reviewed (mostly) by: bde
* MAXHOSTNAMELEN includes space for the NULbrian2001-03-141-4/+4
| | | | | | | Don't read past the end of the host passed to realhostname() Not objected to by: freebsd-audit Interface disliked by: imp
* o Update copyright dates.rwatson2001-03-1320-196/+214
| | | | | | | | 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
|
* Updates for Blowfish password hashing.markm2001-03-111-1/+1
|
* Add OpenBSD-style blowfish password hashing. This makes one lessmarkm2001-03-114-7/+23
| | | | | | | | | | gratuitous difference between us and our sister project. This was given to me _ages_ ago. May apologies to Paul for the length of time its taken me to commit. Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD Submitted by: Paul Herman <pherman@frenchfries.net>
* In theory it would be perfectly legal for a system administrator tobillf2001-03-101-1/+1
| | | | | | | | # cd /dev && ./MAKEDEV pty0 pty3 and/or # rm -rf /dev/ptyp0 and expect all programs that use openpty() to still try to find available ptys.
* Correct a race condition where it was possible for a signaleddeischen2001-03-093-6/+24
| | | | | | | | thread to become stranded and not placed in the run queue. MFC Candidate Reported by: tegge
* 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.
* Don't remember an EINTR, since the caller may want to restart the call.des2001-03-071-2/+4
|
* Support lower-case versions of the proxy environment variables.des2001-03-073-3/+13
| | | | PR: bin/25494
* A quick and dirty port of libstand to ia64.dfr2001-03-063-0/+161
|
* 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
|
OpenPOWER on IntegriCloud