diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-19 20:27:55 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-19 20:27:55 +0000 |
commit | a9c039cf04291cbdb57d4c6200808de9ecb08569 (patch) | |
tree | e5d27e6e07944a4567bbcfcc0b193ef6561f5c23 /openbsd-compat/port-aix.h | |
parent | f095a8588237010852a3a85f971197a3a5b1d9ae (diff) |
- (bal) Migrated AIX getuserattr and usrinfo code to
openbsd-compat/port-aix.[c] to improve readilbity of do_child() and
simplify our diffs against upstream source.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r-- | openbsd-compat/port-aix.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h new file mode 100644 index 000000000..891b27add --- /dev/null +++ b/openbsd-compat/port-aix.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifdef _AIX | ||
2 | |||
3 | #ifdef HAVE_GETUSERATTR | ||
4 | void set_limit(char *user, char *soft, char *hard, int resource, int mult); | ||
5 | void set_limits_from_userattr(char *user); | ||
6 | #endif /* HAVE_GETUSERATTR */ | ||
7 | |||
8 | void aix_usrinfo(Session *s); | ||
9 | |||
10 | #endif /* _AIX */ | ||