History log of /freebsd/lib/libutil/libutil.h (Results 151 – 173 of 173)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/3.4.0_cvs, release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0
# 595f220e 07-Apr-1999 Brian Somers <brian@FreeBSD.org>

Add realhostname() - a function to correctly lookup
a name by address and ensure that the name resolves
back to the original address.


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8
# 8495e302 16-Dec-1998 Bruce Evans <bde@FreeBSD.org>

Declare setproctitle() as printf0-like.


# 50dfa596 09-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

o move path in libutil.h to paths.h
o make property_read() take a fd instead to avoid stdio.h mess
o update auth to new interface.


# 72671863 09-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Take the path spec back out.


# 146c3cf4 09-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

remove stdio.h include; I forgot Bruce's cardinal rule that header files
shouldn't include other ones (which, unfortunately, is also a hellish
rule since he broke interfaces like sysctl this way by r

remove stdio.h include; I forgot Bruce's cardinal rule that header files
shouldn't include other ones (which, unfortunately, is also a hellish
rule since he broke interfaces like sysctl this way by requiring undocumented
header files to be included just in order to be able to use them now - SIGH!).

show more ...


# b704025f 07-Oct-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Add a simple mechanism for reading property lists from files (which
I'll convert sysinstall to use shortly) and a simple call which uses
this mechanism to implement an /etc/auth.conf file. I'll let

Add a simple mechanism for reading property lists from files (which
I'll convert sysinstall to use shortly) and a simple call which uses
this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray
handle the format and checkin of the sample auth.conf file.
Reviewed by: markm

show more ...


Revision tags: release/2.2.7
# 15af1c9b 05-Jun-1998 Andrey A. Chernov <ache@FreeBSD.org>

Add missing uu_lock_txfr() prototype


# 89caae29 01-Jun-1998 Atsushi Murai <amurai@FreeBSD.org>

Trim a domain part for wtmp as same as showed by "netstat -r".
Here is a some example for avoiding a confusion.

It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTN

Trim a domain part for wtmp as same as showed by "netstat -r".
Here is a some example for avoiding a confusion.

It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.

1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama
2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2
3) specgw.spec.co.jp : 202.32.13.1 -> specgw

Submitted by: Atsushi Murai <amurai@spec.co.jp>

show more ...


# 46cf264a 29-May-1998 Brian Somers <brian@FreeBSD.org>

Add uu_lock_txfr() to transfer ownership of a successful
uu_lock() to another process.


Revision tags: release/2.2.6, release/2.2.5_cvs
# 326df44e 05-Sep-1997 Paul Traina <pst@FreeBSD.org>

The parameters to logwtmp should be const char's


# ad1d4e56 31-Aug-1997 Brian Somers <brian@FreeBSD.org>

Remove login_progok()
Suggested by: guido


# fbbe016b 27-Aug-1997 Brian Somers <brian@FreeBSD.org>

Add full support for determining if a user
is restricted from running a given program.


# 84dc2299 10-Aug-1997 Andrey A. Chernov <ache@FreeBSD.org>

Implement canonical locking protocol
Suggested by: joerg


Revision tags: release/2.2.2_cvs
# d3e0a250 19-May-1997 Peter Wemm <peter@FreeBSD.org>

Now I really understand the reason for the style.9 rule about not having
visible type names in prototypes in user space headers. libutil.h
generates warnings with -Wall over the use of "const char *

Now I really understand the reason for the style.9 rule about not having
visible type names in prototypes in user space headers. libutil.h
generates warnings with -Wall over the use of "const char *ttyname".
It's lucky it wasn't a #define conflict.
Is a single '_' prefix acceptable? or does it need to be two?

show more ...


# 85b0d75d 12-May-1997 Brian Somers <brian@FreeBSD.org>

Make uu_* const correct.

Suggested by: joerg


# 56c04344 10-May-1997 David Nugent <davidn@FreeBSD.org>

Summary of login.conf support changes:

o Incorporated BSDI code and enhancements, better logging for error
checking (which has been shown to be a problem, and is therefore
justified, imho); also

Summary of login.conf support changes:

o Incorporated BSDI code and enhancements, better logging for error
checking (which has been shown to be a problem, and is therefore
justified, imho); also some minor things we were missing, including
better quad_t math, which checks for under/overflows.

o setusercontext() now allows user resource limit overrides, but
does this AFTER dropping root privs, to restrict the user to
droping hard limits and set soft limits within the kernel's
allowed user limits.

o umask() only set once, and only if requested.

o add _secure_path(), and use in login.conf to guard against
symlinks etc. and non-root owned or non-user owned files being
used. Derived from BSDI contributed code.

o revamped authentication code to BSDI's latest api, which
includes deleting authenticate() and adding auth_check()
and a few other functions. This is still marked as depecated
in BSDI, but is included for completeness. No other source
in the tree uses this anyway, so it is now bracketed with
#ifdef LOGIN_CAP_AUTH which is by default not defined. Only
auth_checknologin() and auth_cat() are actually used in
module login_auth.c.

o AUTH_NONE definition removed (collided with other includes
in the tree). [bde]

o BSDI's login_getclass() now accepts a char *classname
parameter rather than struct passwd *pwd. We now do likewise,
but added login_getpwclass() for (sort of) backwards
compatiblity, namely because we handle root as a special
case for the default class. This will require quite a few
changes elsewhere in the source tree.

o We no longer pretend to support rlim_t as a long type.

o Revised code formatting to be more bsd-ish style.

show more ...


# 687d0cde 01-Apr-1997 Brian Somers <brian@FreeBSD.org>

Remove the syslog stuff, and allow various return values
in uu_lock(). Add uu_lockerr() for turning the results of
uu_lock into something printable. Remove bogus section in man page
about race cond

Remove the syslog stuff, and allow various return values
in uu_lock(). Add uu_lockerr() for turning the results of
uu_lock into something printable. Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly where it should.

Suggested by: ache@freebsd.org

show more ...


# 568b59b9 30-Mar-1997 Brian Somers <brian@FreeBSD.org>

Move uucplock into libutil and create a manual page.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 7e546392 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


# 483f4c83 29-Dec-1996 Joerg Wunsch <joerg@FreeBSD.org>

Finally document the interfaces found in libutil. While being here,
also add the missing declaration of forkpty() to libutil.h.

Btw., the calling interface for login(3) is crude. Some better
abstr

Finally document the interfaces found in libutil. While being here,
also add the missing declaration of forkpty() to libutil.h.

Btw., the calling interface for login(3) is crude. Some better
abstraction is needed, perhaps similar to logwtmp(3).

2.2 candidate, but i'll wait for the spelling police first. :)

show more ...


Revision tags: release/2.1.5_cvs, release/2.1.0_cvs
# 3b7e1cc8 01-Jan-1996 Peter Wemm <peter@FreeBSD.org>

Bump libutil revision after recent addition of setproctitle().

Install (optional) libutil.h with prototypes for the functions and
document this in the man page.

minor cleanups to the various routin

Bump libutil revision after recent addition of setproctitle().

Install (optional) libutil.h with prototypes for the functions and
document this in the man page.

minor cleanups to the various routines, include the prototype file, declare
return codes etc.

show more ...


1234567