summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/login.h
diff options
context:
space:
mode:
authorwsalamon <wsalamon@FreeBSD.org>2006-02-04 20:20:02 +0000
committerwsalamon <wsalamon@FreeBSD.org>2006-02-04 20:20:02 +0000
commit3d601f5c0b2ed98326587270c5638a8315a2c25d (patch)
tree6e04a1e8c50be266102f73f0a516960314a4c645 /usr.bin/login/login.h
parent6861e36921baf8f75582b54208ee7f1e93f010cf (diff)
downloadFreeBSD-src-3d601f5c0b2ed98326587270c5638a8315a2c25d.zip
FreeBSD-src-3d601f5c0b2ed98326587270c5638a8315a2c25d.tar.gz
Make login audit-enabled, submitting audit records for the login and logout
events. The specifics of submitting the records is contained within login_audit.c. Document the auditing behavior in the man page. Obtained from: TrustedBSD Project, Apple Computer, Inc. Approved by: rwatson (mentor)
Diffstat (limited to 'usr.bin/login/login.h')
-rw-r--r--usr.bin/login/login.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/login/login.h b/usr.bin/login/login.h
index 6be2539..0b33592 100644
--- a/usr.bin/login/login.h
+++ b/usr.bin/login/login.h
@@ -27,4 +27,8 @@
void login_fbtab(char *, uid_t, gid_t);
-extern char **environ;
+void au_login_success(void);
+void au_login_fail(char *errmsg, int na);
+
+extern char **environ;
+extern struct passwd *pwd;
OpenPOWER on IntegriCloud