mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
- use workgroup from smb.conf in smbclient
- change debug level on clitar stuff - define MAP_FILE if not defined - ensure we never set authoritative on queries in nmbd - fake a positive response to SMBioctl, apparently this is needed for some WfWg printer drivers - deny file access for non-fcbopen queries when (access_allowed == AREAD && flags == O_RDWR) - add sys_waitpid()
This commit is contained in:
@ -141,6 +141,18 @@ int sys_stat(char *fname,struct stat *sbuf)
|
||||
return(stat(dos_to_unix(fname,False),sbuf));
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
The wait() calls vary between systems
|
||||
********************************************************************/
|
||||
int sys_waitpid(pid_t pid,int *status,int options)
|
||||
{
|
||||
#ifdef USE_WAITPID
|
||||
return waitpid(pid,status,options);
|
||||
#else
|
||||
return wait4(pid,status,options,NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
don't forget lstat()
|
||||
********************************************************************/
|
||||
|
Reference in New Issue
Block a user