diff options
author | brian <brian@FreeBSD.org> | 1997-11-09 06:22:49 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-09 06:22:49 +0000 |
commit | eae0088b91cbc4408b450aa68745064732b86734 (patch) | |
tree | 330d8937c8f71a0d93df3a925214b73ae069d846 /usr.sbin/ppp/id.h | |
parent | adcd7ae702997873c044a63779bc24521e2f9349 (diff) | |
download | FreeBSD-src-eae0088b91cbc4408b450aa68745064732b86734.zip FreeBSD-src-eae0088b91cbc4408b450aa68745064732b86734.tar.gz |
Introduce ID0 logging.
Stay as the invoking uid as much as possible.
Execution as a normal user is still forbidden for now,
so these changes are pretty ineffective.
The next commit will implement the modifications suggested
on -hackers a number of days ago.
Diffstat (limited to 'usr.sbin/ppp/id.h')
-rw-r--r-- | usr.sbin/ppp/id.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h new file mode 100644 index 0000000..ff569c3 --- /dev/null +++ b/usr.sbin/ppp/id.h @@ -0,0 +1,13 @@ +/* + * $Id$ + */ + +extern void ID0init(void); +extern uid_t ID0realuid(void); +extern int ID0ioctl(int, unsigned long, void *); +extern int ID0unlink(const char *); +extern int ID0socket(int, int, int); +extern FILE *ID0fopen(const char *, const char *); +extern int ID0open(const char *, int); +extern int ID0uu_lock(const char *); +extern int ID0uu_unlock(const char *); |