History log of /dragonfly/include/utmpx.h (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0
# c01b40e7 17-Feb-2021 Sascha Wildner <saw@online.de>

<utmpx.h>: Small whitespace fix.


# 643098a9 17-Feb-2021 Sascha Wildner <saw@online.de>

<utmpx.h>: Preparation for removing <sys/types.h> from <sys/socket.h>.

* Define pid_t as POSIX specifies.

* Use internal integer types for some non-standard struct utmpx members.


Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 25606b42 11-Sep-2019 Sascha Wildner <saw@online.de>

Adjust numerous manual pages, scripts and Makefiles for the utmp removal.

Also remove /var/run/utmp and /var/log/lastlog via 'make upgrade'. Keep
any /var/log/wtmp and /var/log/wtmp.* files in case

Adjust numerous manual pages, scripts and Makefiles for the utmp removal.

Also remove /var/run/utmp and /var/log/lastlog via 'make upgrade'. Keep
any /var/log/wtmp and /var/log/wtmp.* files in case the user wants to
convert them with wtmpcvt(1).

show more ...


# e2e9821d 10-Sep-2019 Sascha Wildner <saw@online.de>

Remove the legacy "utmp" API, now that our utils have been moved to utmpx.

As I wrote in UPGRADING, the main change for "normal" users is probably
that /var/log/wtmp is no longer logged to, just /va

Remove the legacy "utmp" API, now that our utils have been moved to utmpx.

As I wrote in UPGRADING, the main change for "normal" users is probably
that /var/log/wtmp is no longer logged to, just /var/log/wtmpx.

Leave the old API in libc as compat symbols that do nothing and always
succeed for the run-time linker (i.e. old binaries still using them).

dports has been kindly adjusted by zrj and new binary packages for master
are on their way.

A future commit will provide a wtmpcvt(1) utility to convert old wtmp
files to the wtmpx format.

show more ...


# 974aa081 10-Sep-2019 Sascha Wildner <saw@online.de>

libc: Add getutxuser() (adapted from FreeBSD).


# 7bb7a6ed 30-Aug-2019 Sascha Wildner <saw@online.de>

setutxdb(3): Constify the file name argument.

Taken-from: FreeBSD


# 693258b3 30-Aug-2019 Sascha Wildner <saw@online.de>

<utmpx.h>: Some small updates.

* Add comments to the standard ut_type constants. Taken from FreeBSD.

* Put a number of non-standard structs, enums and constants under
__BSD_VISIBLE. Add some expl

<utmpx.h>: Some small updates.

* Add comments to the standard ut_type constants. Taken from FreeBSD.

* Put a number of non-standard structs, enums and constants under
__BSD_VISIBLE. Add some explaining comments. Taken from NetBSD.

show more ...


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2
# 14f65205 23-Dec-2018 Sascha Wildner <saw@online.de>

<utmpx.h>: Change struct utmpx's ut_type from uint16_t to short, per POSIX.

See https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html

Our valid ut_types are 0-8 currently, so there

<utmpx.h>: Change struct utmpx's ut_type from uint16_t to short, per POSIX.

See https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html

Our valid ut_types are 0-8 currently, so there should not be any issues.

Also fix a no longer necessary cast in utmp_update.

show more ...


Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1
# f33ef0a8 29-Sep-2018 Sascha Wildner <saw@online.de>

Fix the __BSD_VISIBLE check in a few headers.

#if must be used, not #ifdef.


Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5
# 69df205f 17-Mar-2015 Sascha Wildner <saw@online.de>

<utmpx.h>: Mark RUN_LVL as being non POSIX.


Revision tags: v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0
# bdb02cd9 31-Jul-2011 Alex Hornung <ahornung@gmail.com>

updwtmpx - update prototype to be void, but ...

* also expose the int-returning prototype as _updwtmpx, only for internal
DragonFly use. It seems as if most programs out there assume that
upd

updwtmpx - update prototype to be void, but ...

* also expose the int-returning prototype as _updwtmpx, only for internal
DragonFly use. It seems as if most programs out there assume that
updwtmpx returns void.

* This should fix heirloom in pkgsrc

show more ...


Revision tags: v2.10.1, v2.11.0, v2.10.0
# c4fc0030 30-Jan-2011 Sascha Wildner <saw@online.de>

Fix up <utmp.h> and <utmpx.h> for C++ programs.

__BEGIN_DECLS and __END_DECLS are absolutely needed around prototypes
so the functions can be called from C++ code (see the definition of
__BEGIN_DECL

Fix up <utmp.h> and <utmpx.h> for C++ programs.

__BEGIN_DECLS and __END_DECLS are absolutely needed around prototypes
so the functions can be called from C++ code (see the definition of
__BEGIN_DECLS in <sys/ctype.h>).

While here, put non-standard stuff in __BSD_VISIBLE instead of just
noting it in a comment.

This fixes at least x11/rxvt-unicode.

Tested-by: tuxillo

show more ...


Revision tags: v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0
# 59a92d18 04-Oct-2009 Alex Hornung <ahornung@gmail.com>

utmpx - Bring in utmpx,wtmpx and lastlogx support

* This commit introduces the necessary support for utmpx, wtmpx and
lastlogx, as well as updating many base utils to work with these
while mostl

utmpx - Bring in utmpx,wtmpx and lastlogx support

* This commit introduces the necessary support for utmpx, wtmpx and
lastlogx, as well as updating many base utils to work with these
while mostly maintaining compatibility with the old utmp, wtmp and
lastlog.

* The new last(1) supports wtmpx but defaults to wtmp as not all wtmp
writers have been updated for wtmpx.

* All utmp readers support both utmp and utmpx now.

* lastlogin (the only lastlog reader) supports both lastlog and
lastlogx.

* The utils who(1) and finger have been almost directly replaced by
their NetBSD equivalent. In case of who(1) the only custom
modification is the behaviour of '-b' to be as it has always been.

* Partially-Obtained-from: NetBSD

show more ...