search for: check_parent_exists

Displaying 14 results from an estimated 14 matches for "check_parent_exists".

2011 May 12
6
[Bug 1905] New: check_parent_exists() logic does not cover all cases
https://bugzilla.mindrot.org/show_bug.cgi?id=1905 Summary: check_parent_exists() logic does not cover all cases Product: Portable OpenSSH Version: 5.8p2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh-agent AssignedTo: unassigned-bugs at mindrot.org...
2006 Apr 12
1
[PATCH] bug in check_parent_exists() in ssh-agent.c
The check_parent_exists() function in ssh-agent.c does this: if (parent_pid != -1 && kill(parent_pid, 0) < 0) however, the kill can fail with EPERM even if the parent_pid exists. For example, consider this command: ssh-agent sh -c 'ssh-add ; exec sudo sh -i' The original ssh-agent p...
2011 May 09
3
ssh-agent subprocess parentage
...gent.c) this isn't what actually happens. It looks like the agent lives on as the subprocess, and the subcommand is execed from the parent process. This has troublesome implications for the agent being able to detect when the command dies, since it can't rely on SIGCHLD handlers. Indeed, check_parent_exists() relies on simply storing the process ID and checking to see whether such a process is signalable. Given that process IDs tend to be relatively small numbers (15 bits on Linux), and are reused frequently, it's not hard to imagine this test giving a false positive. It's also troublesome f...
2019 Apr 10
3
Unable to upload printer drivers.
...04/10 15:27:07.146105, 5, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/filename.c:662(unix_convert) unix_convert begin: name = x64/3/UNIVERSALXP, dirpath = , start = x64/3/UNIVERSALXP [2019/04/10 15:27:07.156459, 5, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/filename.c:235(check_parent_exists) check_parent_exists: name = x64/3/UNIVERSALXP, dirpath = x64/3, start = UNIVERSALXP [2019/04/10 15:27:07.156491, 10, pid=1218, effective(0, 0), real(0, 0)] ../source3/smbd/mangle_hash2.c:418(is_mangled) is_mangled UNIVERSALXP ? [2019/04/10 15:27:07.156506, 10, pid=1218, effective(0, 0), real(0...
2019 Aug 23
2
plenty of vacuuuming processes
...effective(101776, 513), real(101776, 0)] ../source3/smbd/filename.c:662(unix_convert) ? unix_convert begin: name = <user>/.config/menus, dirpath = , start = hildner/.config/menus [2019/08/23 11:29:56.944002,? 5, pid=1246, effective(101776, 513), real(101776, 0)] ../source3/smbd/filename.c:235(check_parent_exists) ? check_parent_exists: name = <user>/.config/menus, dirpath = hildner/.config, start = menus [2019/08/23 11:29:56.944028, 10, pid=1246, effective(101776, 513), real(101776, 0), class=vfs] ../source3/smbd/vfs.c:1196(check_reduced_name) ? check_reduced_name: check_reduced_name [hildner/.config...
2019 Apr 08
4
Unable to upload printer drivers
Hi, Am 25.03.2019 um 14:12 schrieb Marco Gaiarin via samba: > [...] > Some drivers there's no way to load (for example, some samsung MFP). > Some other load, but you have to do 2-5 try before they work. I did now try many different drivers from different vendors none of them worked thus I think there is something else wrong. I then did some more tests, trying to find anything being
2013 Jun 19
0
[Announce] Samba 3.6.16 Available for Download
...wrap_tool and dbwrap_torture against libtevent. o Jeremy Allison <jra@samba.org> * BUG 9722: Properly handle Oplock breaks in compound requests. * BUG 9822: Fix crash bug during Win8 sync. o Anand Avati <avati@redhat.com> * BUG 9927: errno gets overwritten in call to check_parent_exists(). o David Disseldorp <ddiss@samba.org> * BUG 8997: Change libreplace GPL source to LGPL. * BUG 9900: is_printer_published GUID retrieval. o Peng Haitao <penght@cn.fujitsu.com> * BUG 9941: Fix a bug of drvupgrade of smbcontrol. o Volker Lendecke <vl@samba.org&...
2019 Aug 23
2
plenty of vacuuuming processes
Hi, I have a ctdb cluster with 3 nodes and 3 glusterfs (version 6) nodes up and running. I observe plenty of these situations: A connected Windows-10 client doesn't react anymore. I use forder redirections.? - Smbstatus shows up some (auth in progress) processes. - In the logs of a ctdb node I get: Aug 23 10:12:29 ctdb-1 ctdbd[2167]: Ending traverse on DB locking.tdb (id 568831), records
2013 Jun 19
1
[Announce] Samba 3.6.16 Available for Download
...ool and dbwrap_torture against libtevent. o Jeremy Allison <jra at samba.org> * BUG 9722: Properly handle Oplock breaks in compound requests. * BUG 9822: Fix crash bug during Win8 sync. o Anand Avati <avati at redhat.com> * BUG 9927: errno gets overwritten in call to check_parent_exists(). o David Disseldorp <ddiss at samba.org> * BUG 8997: Change libreplace GPL source to LGPL. * BUG 9900: is_printer_published GUID retrieval. o Peng Haitao <penght at cn.fujitsu.com> * BUG 9941: Fix a bug of drvupgrade of smbcontrol. o Volker Lendecke <vl at s...
2013 Jun 19
1
[Announce] Samba 3.6.16 Available for Download
...ool and dbwrap_torture against libtevent. o Jeremy Allison <jra at samba.org> * BUG 9722: Properly handle Oplock breaks in compound requests. * BUG 9822: Fix crash bug during Win8 sync. o Anand Avati <avati at redhat.com> * BUG 9927: errno gets overwritten in call to check_parent_exists(). o David Disseldorp <ddiss at samba.org> * BUG 8997: Change libreplace GPL source to LGPL. * BUG 9900: is_printer_published GUID retrieval. o Peng Haitao <penght at cn.fujitsu.com> * BUG 9941: Fix a bug of drvupgrade of smbcontrol. o Volker Lendecke <vl at s...
2019 Jun 14
1
Update 4.10.2 to 4.10.4: Cant create files in subdirectorie anymore
...: ?? ??? ??? ?stat_cache_lookup: lookup failed for name [SUB_DIR/SUB_SUB_DIR] 245(stat_cache_lookup): ?? ??? ??? ?stat_cache_lookup: lookup failed for name [SUB_DIR] 682(unix_convert): ?? ??? ? ??? ??? ??? ?unix_convert begin: name = sub_dir/sub_sub_dir, dirpath = ., start = sub_dir/sub_sub_dir 233(check_parent_exists): ?? ??? ??? ?check_parent_exists: name = sub_dir/sub_sub_dir, dirpath = sub_dir, start = sub_sub_dir 418(is_mangled): ?? ??? ? ??? ??? ??? ?is_mangled sub_sub_dir ? 357(is_mangled_component): ?? ??? ??? ?is_mangled_component sub_sub_dir (len 11) ? 418(is_mangled): ?? ??? ? ??? ??? ??? ?is_mangled...
2023 Nov 10
2
understanding stat cache
...s. For one of the log files (that only cover 73secs) I have made a poor man's profiling by simply counting the called functions, here's the result: 2 max_data 4 4 fd_open 4 smbd_idle_event_handler 4 smbXsrv_open_update 6 filename_convert_internal 8 check_parent_exists 8 grant_fsp_oplock_type 8 smb2 20 smbd_do_qfsinfo 36 stat_cache_add 451 change_to_root_user 3040 get_ea_dos_attribute 11172 fill_ea_chained_buffer 11172 get_ea_names_from_file 11172 get_ea_value 11216 open_directory 11224 se_access_check 11232 unix_mode 11...
2020 Jun 14
12
[Bug 3181] New: ssh-agent doesn't exit automatically after child program exits
https://bugzilla.mindrot.org/show_bug.cgi?id=3181 Bug ID: 3181 Summary: ssh-agent doesn't exit automatically after child program exits Product: Portable OpenSSH Version: 8.0p1 Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 Component: ssh-agent
2010 Dec 17
62
[Bug 1845] New: Bugs intended to be fixed in 5.8
https://bugzilla.mindrot.org/show_bug.cgi?id=1845 Summary: Bugs intended to be fixed in 5.8 Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo: unassigned-bugs at mindrot.org ReportedBy: djm