5b8ff14caf
messages not related to an account. * lib/prototypes.h, libmisc/cleanup.c, libmisc/cleanup_group.c, libmisc/cleanup_user.c, libmisc/Makefile.am: Added stack of cleanup functions to be executed on exit. * NEWS, src/groupadd.c, src/groupdel.c, src/groupmod.c: Only report success to audit and syslog when the changes are committed to the system. Do not log failure for on-memory changes to audit or syslog. Make sure failures and inconsistencies will be reported in case of unexpected failures (e.g. malloc failures). Only specify an audit message if it is not implicitly implied by the type argument. Removed fail_exit (replaced by atexit(do_cleanups)).
66 lines
871 B
Makefile
66 lines
871 B
Makefile
|
|
EXTRA_DIST = .indent.pro xgetXXbyYY.c
|
|
|
|
INCLUDES = -I$(top_srcdir)/lib
|
|
|
|
noinst_LIBRARIES = libmisc.a
|
|
|
|
libmisc_a_SOURCES = \
|
|
addgrps.c \
|
|
age.c \
|
|
audit_help.c \
|
|
basename.c \
|
|
chkname.c \
|
|
chkname.h \
|
|
chowndir.c \
|
|
chowntty.c \
|
|
cleanup.c \
|
|
cleanup_group.c \
|
|
cleanup_user.c \
|
|
console.c \
|
|
copydir.c \
|
|
entry.c \
|
|
env.c \
|
|
failure.c \
|
|
failure.h \
|
|
fields.c \
|
|
find_new_gid.c \
|
|
find_new_uid.c \
|
|
getdate.h \
|
|
getdate.y \
|
|
getlong.c \
|
|
getrange.c \
|
|
hushed.c \
|
|
isexpired.c \
|
|
limits.c \
|
|
list.c log.c \
|
|
loginprompt.c \
|
|
mail.c \
|
|
motd.c \
|
|
myname.c \
|
|
obscure.c \
|
|
pam_pass.c \
|
|
pwd2spwd.c \
|
|
pwdcheck.c \
|
|
pwd_init.c \
|
|
rlogin.c \
|
|
salt.c \
|
|
setugid.c \
|
|
setupenv.c \
|
|
shell.c \
|
|
strtoday.c \
|
|
sub.c \
|
|
sulog.c \
|
|
ttytype.c \
|
|
tz.c \
|
|
ulimit.c \
|
|
utmp.c \
|
|
valid.c \
|
|
xgetpwnam.c \
|
|
xgetpwuid.c \
|
|
xgetgrnam.c \
|
|
xgetgrgid.c \
|
|
xgetspnam.c \
|
|
xmalloc.c \
|
|
yesno.c
|