From a0b0fa7bb1eb83ff26931831fa1006000d29e861 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 6 Jul 1999 22:08:55 +0000 Subject: using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam(). made sure that hashed_getpwnam() has the copy-passwd-struct-wrapper around it, too. TODO: replace all calls of getpwnam() with sys_getpwnam(). (This used to be commit 436a89145524d3539b3a247f98c1e71f0616dd70) --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 9fd3694818..59fdb28672 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -346,6 +346,9 @@ BOOL set_inherited_process_capability( uint32 cap_flag, BOOL enable ); long sys_random(void); void sys_srandom(unsigned int seed); int sys_getgroups(int setlen, gid_t *gidset); +struct passwd *copy_passwd_struct(struct passwd *pass); +struct passwd *sys_getpwnam(const char *name); +struct passwd *sys_getpwuid(uid_t uid); /*The following definitions come from lib/time.c */ -- cgit