diff options
author | Brian Somers <brian@FreeBSD.org> | 1997-08-27 20:06:20 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1997-08-27 20:06:20 +0000 |
commit | 0145e9c2c8d1f751035c83a12dd5f8d9be5ad495 (patch) | |
tree | 7b32bcbcb39a238ec7ad75355a8a930a0adbe390 /libutil | |
parent | 66263f35e17da4669592e036534b8440425a46b0 (diff) | |
download | pw-darwin-0145e9c2c8d1f751035c83a12dd5f8d9be5ad495.tar.gz pw-darwin-0145e9c2c8d1f751035c83a12dd5f8d9be5ad495.tar.zst pw-darwin-0145e9c2c8d1f751035c83a12dd5f8d9be5ad495.zip |
Add full support for determining if a user
is restricted from running a given program.
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/libutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index d6bb5de..62cc1e9 100644 --- a/libutil/libutil.h +++ b/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) |