summaryrefslogtreecommitdiffstats
path: root/lib/libutil
Commit message (Collapse)AuthorAgeFilesLines
* Remove whitespace at EOL.dd2001-07-1513-59/+59
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-108-8/+8
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-092-4/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-091-3/+3
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Add RETURN VALUES and ERRORS sections.dd2001-06-251-2/+11
|
* Add a manual page for extattr_string_to_namespace anddd2001-06-242-0/+94
| | | | | | extattr_namespace_to_string. Reviewed by: rwatson
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-181-1/+1
|
* Sort.obrien2001-05-181-23/+24
|
* Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,obrien2001-05-181-0/+4
| | | | | | which makes lgoin more like getty in its ability to be configured. Submitted by: tlambert (code only)
* Don't pass NULL to the %s format.dd2001-04-221-2/+6
| | | | Reviewed by: kris
* mdoc(7) police: normalize .Nd.ru2001-04-183-3/+3
|
* MAN[1-9] -> MAN.ru2001-03-271-2/+2
|
* o Slap some "_"'s in front of variable names relating to extattr functions,rwatson2001-03-221-3/+3
| | | | | | so as not to pollute application namespace. Submitted by: bde
* 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
* 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
* Fix some further style nitsbrian2001-03-171-8/+11
| | | | Pointed out by: bde
* 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-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
* 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
* Updates for Blowfish password hashing.markm2001-03-111-1/+1
|
* 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.
* Fix typo: seperate -> separate.asmodai2001-02-061-2/+2
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* Fixed prototype of logout() (const poisoning).bde2001-02-061-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-012-12/+12
|
* Call trimdomain properly for ip4 addresses.brian2001-01-281-30/+30
| | | | | PR: 24659 realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* In call to realloc, pass the number of bytes needed, not simply theghelmer2000-12-311-2/+2
| | | | | | | number of login time structures. Forward the name of the deny capability rather than hard-coding it in login_hostok.
* Prepare for mdoc(7)NG.ru2000-12-295-73/+70
|
* mdoc(7) police: Now that .Fx macro is parsed, backoutru2000-12-121-5/+2
| | | | the 1.18 -> 1.20 and fix the .Fx issue the right way.
* Fix a mangled $Id stringpeter2000-11-251-1/+1
|
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-2/+2
|
* Use Fx macro wherever possible.ru2000-11-141-2/+6
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-3/+3
|
* Eliminate inconsistency where a value that contains only whitespacemurray2000-11-091-1/+6
| | | | | | confuses the parser. Approved by: jkh
* Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h somurray2000-11-083-9/+13
| | | | | | | that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag while I'm here. Approved by: jkh
* Fix problems people were having with large -O levels with GCC andgreen2000-10-273-8/+50
| | | | | | | | | | getting libutil/libcrypt to work properly. I've determined that GCC thinks it can inline all functions, including weak-symboled ones, if it feels like it. Create a new stub.c and move any stubs there to prevent inlining. Thanks to jdp and William S. Duncanson for helping me finally find the problem.
* Correct uu_lock_txfr. I don't think this ever worked correctly.brian2000-10-021-5/+6
|
* Document passwd_format further.green2000-09-301-0/+4
|
* Constify the arg to logout(3). It is const-safe.peter2000-09-042-3/+3
| | | | (cosmetic: drop some "register" qualifications too.)
* Move setproctitle() from libutil to libc (after a repo-copy)brian2000-09-024-252/+2
| | | | | | | | | and bump __FreeBSD_version to 500012 to mark the occasion. setproctitle() is prototyped in unistd.h as opposed to stdlib.h where OpenBSD and NetBSD have it. Reviewed by: peter
* Add weak symbol pragma for crypt_set_format().asmodai2000-08-231-0/+6
| | | | Approved by: green
* Stick login_setcryptfmt() in its own file to make pulling in ofgreen2000-08-233-17/+46
| | | | -lcrypt only happen if truly necessary.
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIgreen2000-08-224-2/+40
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* If the format string passed to setproctitle begins with a '-'ps2000-08-012-24/+14
| | | | | | | character, skip the program name when setting the process title. Ansified with extreme prejudice. Reviewed by: peter
* Sshd writes connected host into utmp directly. If the connection isume2000-07-141-7/+14
| | | | | | via IPv6, the hostname is trimed due to the length of IPv6 address. This change saves it as possible. I have a grudge against the shortage of UT_HOSTSIZE.
* Make sbsize a size instead of a number. This allows the usual suffixessheldonh2000-07-142-2/+2
| | | | | | | | | to be applied to the value given. This does not break installed /etc/login.conf files, since un-suffixed numbers are interpreted as they were before. PR: 19750 Submitted by: Paul Herman <pherman@frenchfries.net>
* Don't call warn() without a format string.kris2000-07-121-1/+1
|
OpenPOWER on IntegriCloud