diff options
author | brian <brian@FreeBSD.org> | 1997-08-27 20:06:20 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-27 20:06:20 +0000 |
commit | 6c9afb5a313b719d4498d929ecf771ca26e79435 (patch) | |
tree | 5afe6f30a412635c518772d64620112ad847e9f2 /lib/libutil/libutil.h | |
parent | 1fa2fafd210a0a94505d20066e2c109207101d32 (diff) | |
download | FreeBSD-src-6c9afb5a313b719d4498d929ecf771ca26e79435.zip FreeBSD-src-6c9afb5a313b719d4498d929ecf771ca26e79435.tar.gz |
Add full support for determining if a user
is restricted from running a given program.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r-- | lib/libutil/libutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index d6bb5de..62cc1e9 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file providing the above * conditions are met. * - * $Id: libutil.h,v 1.9 1997/05/19 10:04:15 peter Exp $ + * $Id: libutil.h,v 1.10 1997/08/10 18:42:38 ache Exp $ */ #ifndef _LIBUTIL_H_ @@ -45,6 +45,7 @@ const char *uu_lockerr __P((int _uu_lockresult)); int uu_lock __P((const char *_ttyname)); int uu_unlock __P((const char *_ttyname)); int _secure_path __P((const char *_path, uid_t _uid, gid_t _gid)); +int login_progok __P((uid_t _uid, const char *prog)); __END_DECLS #define UU_LOCK_INUSE (1) |