aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bogus cast.Dag-Erling Smørgrav2002-03-061-1/+1
| | | | Notes: svn path=/head/; revision=91750
* Correct a typo.Dima Dorfman2002-03-031-1/+1
| | | | | | | | PR: 35273 Submitted by: Nicola Vitale <nivit@libero.it> Notes: svn path=/head/; revision=91574
* #include <time.h> for the definition of time functions instead ofBruce Evans2002-02-251-1/+2
| | | | | | | | | depending on namespace pollution 2 layers deep in <sys/stat.h>. Sorted includes. Notes: svn path=/head/; revision=91241
* #include <stddef.h> for the definition of NULL instead of depending onBruce Evans2002-02-251-1/+3
| | | | | | | | | namespace pollution 2 layers deep in <sys/stat.h>. Sorted includes. Notes: svn path=/head/; revision=91211
* ANSIfy and constify.Dag-Erling Smørgrav2002-02-051-17/+15
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90233
* o Reflect repo-copy of extattr.[c3] from libutil to libc, movingRobert Watson2001-11-163-181/+1
| | | | | | | | | | | extattr namespace routines to the libc/posix1e directory. While the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't strictly ever approved, so I think that's OK. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=86452
* o Document 'nocheckmail' login capability.Robert Watson2001-11-161-0/+1
| | | | Notes: svn path=/head/; revision=86451
* Although the 'bool' type is referenced in the list of capabilities, itRobert Watson2001-11-161-0/+3
| | | | | | | | | | is not defined in the capability type list. Provide a definition for 'bool', if a slightly less than elegant one. Note that this definition does not include the complete scope of available behavior defined in cgetcap(3), and could probably be improved. Notes: svn path=/head/; revision=86444
* Fix the phrase about "both files", which must be leftYaroslav Tykhiy2001-10-111-1/+3
| | | | | | | | | | from login(3). This page, logwtmp(3), speaks of only one file -- wtmp(5). MFC after: 1 week Notes: svn path=/head/; revision=84793
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-0119-44/+44
| | | | Notes: svn path=/head/; revision=84306
* Add __FBSDID()s to libutilMatthew Dillon2001-09-3020-52/+58
| | | | Notes: svn path=/head/; revision=84225
* 1) Back out ~/.login_conf disableAndrey A. Chernov2001-09-252-8/+5
| | | | | | | 2) Pick only "me" class from ~/.login_conf as documented Notes: svn path=/head/; revision=83923
* Disable per-user .login_conf support due to incorrect merging of localRobert Watson2001-09-162-0/+5
| | | | | | | | | and globaly settings. An alternative implementation will be developed. Reported by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl> Notes: svn path=/head/; revision=83550
* o Add a comment noting that the early setting of privileges for the purposeRobert Watson2001-09-151-2/+6
| | | | | | | | | | of NFS home directory and root directory processing fails to include additional groups. This doesn't impact the final credential, but does mean that users may be denied login even when additional groups might allow it. Notes: svn path=/head/; revision=83516
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-131-1/+0
| | | | Notes: svn path=/head/; revision=81586
* mdoc(7) police: protect trailing full stops of abbreviationsRuslan Ermilov2001-08-101-1/+1
| | | | | | | with a trailing zero-width space: `e.g.\&'. Notes: svn path=/head/; revision=81449
* Simplify IPv4 mapped IPv6 address handling.Hajimu UMEMOTO2001-07-231-66/+39
| | | | | | | | Reviewed by: brian MFC after: 5 days Notes: svn path=/head/; revision=80223
* remove emalloc,ecalloc,erealloc,estrdupAssar Westerlund2001-07-237-270/+1
| | | | Notes: svn path=/head/; revision=80206
* add ecalloc, emalloc, erealloc, estrdup - versions of the e-lessAssar Westerlund2001-07-227-2/+271
| | | | | | | functions that exit instead of failing Notes: svn path=/head/; revision=80167
* Hint getaddrinfo() correctly if we're looking up a name that we got fromBrian Somers2001-07-211-2/+9
| | | | | | | | | an AF_INET6 address. MFC after: 1 week Notes: svn path=/head/; revision=80056
* Remove whitespace at EOL.Dima Dorfman2001-07-1513-59/+59
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-108-8/+8
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-092-4/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-3/+3
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* Add RETURN VALUES and ERRORS sections.Dima Dorfman2001-06-251-2/+11
| | | | Notes: svn path=/head/; revision=78748
* Add a manual page for extattr_string_to_namespace andDima Dorfman2001-06-242-0/+94
| | | | | | | | | extattr_namespace_to_string. Reviewed by: rwatson Notes: svn path=/head/; revision=78738
* Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov2001-05-181-1/+1
| | | | Notes: svn path=/head/; revision=76812
* Sort.David E. O'Brien2001-05-181-23/+24
| | | | Notes: svn path=/head/; revision=76787
* Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,David E. O'Brien2001-05-181-0/+4
| | | | | | | | | which makes lgoin more like getty in its ability to be configured. Submitted by: tlambert (code only) Notes: svn path=/head/; revision=76786
* Don't pass NULL to the %s format.Dima Dorfman2001-04-221-2/+6
| | | | | | | Reviewed by: kris Notes: svn path=/head/; revision=75821
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-183-3/+3
| | | | Notes: svn path=/head/; revision=75670
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-2/+2
| | | | Notes: svn path=/head/; revision=74870
* o Slap some "_"'s in front of variable names relating to extattr functions,Robert Watson2001-03-221-3/+3
| | | | | | | | | so as not to pollute application namespace. Submitted by: bde Notes: svn path=/head/; revision=74624
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++Robert Watson2001-03-191-7/+7
| | | | | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=74436
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++Robert Watson2001-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 Notes: svn path=/head/; revision=74435
* Fix some further style nitsBrian Somers2001-03-171-8/+11
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=74386
* Actually commit the new version of trimdomain *blush*Brian Somers2001-03-151-70/+80
| | | | | | | Thanks for covering my blunder to: peter Notes: svn path=/head/; revision=74288
* o To support new EA interface with explicit namespaces, introduce twoRobert Watson2001-03-153-3/+80
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=74274
* It would help if trimdomain.c was actually committed. This is a stopgapPeter Wemm2001-03-151-0/+105
| | | | | | | | | world-unbreaker until Brian Somers commits the one he intended to. Pointy Hat to: brian Notes: svn path=/head/; revision=74266
* Move trimdomain() into it's own source file and tidy things up a bit.Brian Somers2001-03-142-61/+5
| | | | | | | | | Fix disorder in the Makefile. Reviewed (mostly) by: bde Notes: svn path=/head/; revision=74261
* MAXHOSTNAMELEN includes space for the NULBrian Somers2001-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 Notes: svn path=/head/; revision=74260
* Updates for Blowfish password hashing.Mark Murray2001-03-111-1/+1
| | | | Notes: svn path=/head/; revision=74107
* In theory it would be perfectly legal for a system administrator toBill Fumerola2001-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. Notes: svn path=/head/; revision=74068
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-2/+2
| | | | | | | | | Seperate does not exist in the english language. Submitted to look at by: kris Notes: svn path=/head/; revision=72089
* Fixed prototype of logout() (const poisoning).Bruce Evans2001-02-061-1/+1
| | | | Notes: svn path=/head/; revision=72067
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-012-12/+12
| | | | Notes: svn path=/head/; revision=71895
* Call trimdomain properly for ip4 addresses.Brian Somers2001-01-281-30/+30
| | | | | | | | PR: 24659 realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com Notes: svn path=/head/; revision=71753
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71097
* In call to realloc, pass the number of bytes needed, not simply theGuy Helmer2000-12-311-2/+2
| | | | | | | | | | number of login time structures. Forward the name of the deny capability rather than hard-coding it in login_hostok. Notes: svn path=/head/; revision=70544
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-295-73/+70
| | | | Notes: svn path=/head/; revision=70481