Displaying 2 results from an estimated 2 matches for "use_veto".
2006 May 29
0
smbd hanging at BDC
...read_file (conn=0x91f5a20,
name=0x9204bb0 "FINALQC/HEMANTH QC/Sub Assy Codes", pst=0xbfebcf90)
at smbd/dir.c:852
#10 0x0018236d in is_visible_file (conn=0x91f5a20,
dir_path=0x91f2e20 "FINALQC/HEMANTH QC", name=0x92004e8 "Sub Assy
Codes",
pst=0xbfebcf90, use_veto=1) at smbd/dir.c:994
Second Trial
#0 0x00d047a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x006d2d30 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2 0x00372a7f in yield_cpu () at tdb/spinlock.c:265
#3 0x00372c62 in __write_lock (rwlock=0xb7d2d070) at tdb/spinlock.c:338
#4 0x...
2001 Apr 14
4
Code to hide inaccessible files/directories
...ot have read rights to.
(yes, I know I could have sent diffs, but this change was made *after*
FreeBSD specific patches were applied to the samba source, and I don't
know how that would affect a diff)
Hope this is useful to people.
-Bill
void *OpenDir(connection_struct *conn, char *name, BOOL use_veto)
{
Dir *dirp;
char *n;
DIR *p = dos_opendir(name);
int used=0;
char *fullPath;
if (!p) return(NULL);
dirp = (Dir *)malloc(sizeof(Dir));
if (!dirp) {
closedir(p);
return(NULL);
}
fullPath = (char *)malloc(2048);
if (!fullPath) {
closedir(p);
return(NULL);
}...