Dima Dorfman
246b0f8487
Correct a typo.
...
PR: 35273
Submitted by: Nicola Vitale <nivit@libero.it>
2002-03-03 01:13:47 +00:00
Bruce Evans
3798cf8a70
#include <time.h> for the definition of time functions instead of
...
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes.
2002-02-25 12:02:03 +00:00
Bruce Evans
163ae6707c
#include <stddef.h> for the definition of NULL instead of depending on
...
namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes.
2002-02-25 01:25:30 +00:00
Dag-Erling Smørgrav
93deb2ae12
ANSIfy and constify.
...
Sponsored by: DARPA, NAI Labs
2002-02-05 06:49:11 +00:00
Robert Watson
5acb7446b0
o Reflect repo-copy of extattr.[c3] from libutil to libc, moving
...
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
2001-11-16 05:09:45 +00:00
Robert Watson
9d58ead2eb
o Document 'nocheckmail' login capability.
2001-11-16 04:39:43 +00:00
Robert Watson
22524ffbb2
Although the 'bool' type is referenced in the list of capabilities, it
...
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.
2001-11-16 02:40:09 +00:00
Yaroslav Tykhiy
dc72bf81a8
Fix the phrase about "both files", which must be left
...
from login(3). This page, logwtmp(3), speaks of only
one file -- wtmp(5).
MFC after: 1 week
2001-10-11 11:02:50 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Matthew Dillon
8719c58fef
Add __FBSDID()s to libutil
2001-09-30 22:35:07 +00:00
Andrey A. Chernov
e36b245ca8
1) Back out ~/.login_conf disable
...
2) Pick only "me" class from ~/.login_conf as documented
2001-09-25 11:07:26 +00:00
Robert Watson
35105a5f91
Disable per-user .login_conf support due to incorrect merging of local
...
and globaly settings. An alternative implementation will be developed.
Reported by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
2001-09-16 16:48:40 +00:00
Robert Watson
8df8b73f3c
o Add a comment noting that the early setting of privileges for the purpose
...
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.
2001-09-15 16:12:56 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Ruslan Ermilov
57e4378bf6
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Hajimu UMEMOTO
27daeab3ec
Simplify IPv4 mapped IPv6 address handling.
...
Reviewed by: brian
MFC after: 5 days
2001-07-23 21:42:22 +00:00
Assar Westerlund
27e79ba285
remove emalloc,ecalloc,erealloc,estrdup
2001-07-23 12:42:07 +00:00
Assar Westerlund
c9a4f950b3
add ecalloc, emalloc, erealloc, estrdup - versions of the e-less
...
functions that exit instead of failing
2001-07-22 22:26:37 +00:00
Brian Somers
3ee63d3929
Hint getaddrinfo() correctly if we're looking up a name that we got from
...
an AF_INET6 address.
MFC after: 1 week
2001-07-21 00:18:54 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Brian Somers
7bc6d0158f
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Dima Dorfman
2b47b55f69
Add RETURN VALUES and ERRORS sections.
2001-06-25 01:25:01 +00:00
Dima Dorfman
444a2d61e8
Add a manual page for extattr_string_to_namespace and
...
extattr_namespace_to_string.
Reviewed by: rwatson
2001-06-24 23:54:46 +00:00
Ruslan Ermilov
3ab9a9d0e0
Removed -I${.CURDIR}/.../sys from CFLAGS.
2001-05-18 13:41:42 +00:00
David E. O'Brien
708b042526
Sort.
2001-05-18 05:05:50 +00:00
David E. O'Brien
078ae588ab
Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,
...
which makes lgoin more like getty in its ability to be configured.
Submitted by: tlambert (code only)
2001-05-18 04:55:16 +00:00
Dima Dorfman
3babad2e42
Don't pass NULL to the %s format.
...
Reviewed by: kris
2001-04-22 03:00:09 +00:00
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Ruslan Ermilov
4a558355e5
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
Robert Watson
4482ce0f57
o Slap some "_"'s in front of variable names relating to extattr functions,
...
so as not to pollute application namespace.
Submitted by: bde
2001-03-22 04:05:40 +00:00
Robert Watson
d51048c93b
o Rename "namespace" argument to "attrnamespace" as namespace is a C++
...
reserved word.
Submitted by: jkh
Obtained from: TrustedBSD Project
2001-03-19 05:05:41 +00:00
Robert Watson
270ad63e6b
o Rename "namespace" argument to "attrnamespace" as namespace is a C++
...
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
2001-03-19 05:04:30 +00:00
Brian Somers
a9c6c69f89
Fix some further style nits
...
Pointed out by: bde
2001-03-17 10:09:52 +00:00
Brian Somers
61a1695b80
Actually commit the new version of trimdomain *blush*
...
Thanks for covering my blunder to: peter
2001-03-15 08:30:05 +00:00
Robert Watson
1bc2362e07
o To support new EA interface with explicit namespaces, introduce two
...
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
2001-03-15 03:00:39 +00:00
Peter Wemm
60d410ce42
It would help if trimdomain.c was actually committed. This is a stopgap
...
world-unbreaker until Brian Somers commits the one he intended to.
Pointy Hat to: brian
2001-03-15 00:15:22 +00:00
Brian Somers
c61b512ccc
Move trimdomain() into it's own source file and tidy things up a bit.
...
Fix disorder in the Makefile.
Reviewed (mostly) by: bde
2001-03-14 20:51:15 +00:00
Brian Somers
ec86eec797
MAXHOSTNAMELEN includes space for the NUL
...
Don't read past the end of the host passed to realhostname()
Not objected to by: freebsd-audit
Interface disliked by: imp
2001-03-14 20:50:52 +00:00
Mark Murray
82e377fd12
Updates for Blowfish password hashing.
2001-03-11 16:37:33 +00:00
Bill Fumerola
f6f1b6b676
In theory it would be perfectly legal for a system administrator to
...
# 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.
2001-03-10 10:39:52 +00:00
Jeroen Ruigrok van der Werven
9a01d32bfd
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
Submitted to look at by: kris
2001-02-06 10:39:38 +00:00
Bruce Evans
3ffb2fd399
Fixed prototype of logout() (const poisoning).
2001-02-06 01:06:25 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Brian Somers
f169f2f020
Call trimdomain properly for ip4 addresses.
...
PR: 24659
realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com
2001-01-28 21:51:25 +00:00
Ruslan Ermilov
32f6256a49
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
Guy Helmer
4a4ecab1c6
In call to realloc, pass the number of bytes needed, not simply the
...
number of login time structures.
Forward the name of the deny capability rather than hard-coding it
in login_hostok.
2000-12-31 16:15:06 +00:00
Ruslan Ermilov
4263595653
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
Ruslan Ermilov
63bd758be4
mdoc(7) police: Now that .Fx macro is parsed, backout
...
the 1.18 -> 1.20 and fix the .Fx issue the right way.
2000-12-12 10:11:12 +00:00