search for: fd_close

Displaying 13 results from an estimated 13 matches for "fd_close".

2016 Mar 09
0
mkdir-dup test flapping
...0 samba_start_debugger(); > 3641 DEBUG(5,("open_directory: stat struct differs for " > 3642 "directory %s.\n", > 3643 smb_fname_str_dbg(smb_dname))); > 3644 fd_close(fsp); > (gdb) p smb_dname->st > $1 = {st_ex_dev = 64512, st_ex_ino = 44701075, st_ex_mode = 16877, > st_ex_nlink = 2, st_ex_uid = 50133, st_ex_gid = 50133, st_ex_rdev = 0, > st_ex_size = 0, st_ex_atime = {tv_sec = 1457488009, tv_nsec = 820161188}, > st_ex_mtime = {tv_sec = 1...
2016 Mar 09
4
mkdir-dup test flapping
..._name->st)) { 3640 samba_start_debugger(); 3641 DEBUG(5,("open_directory: stat struct differs for " 3642 "directory %s.\n", 3643 smb_fname_str_dbg(smb_dname))); 3644 fd_close(fsp); (gdb) p smb_dname->st $1 = {st_ex_dev = 64512, st_ex_ino = 44701075, st_ex_mode = 16877, st_ex_nlink = 2, st_ex_uid = 50133, st_ex_gid = 50133, st_ex_rdev = 0, st_ex_size = 0, st_ex_atime = {tv_sec = 1457488009, tv_nsec = 820161188}, st_ex_mtime = {tv_sec = 1457488009, tv_nsec = 8201...
2024 Apr 08
0
[Announce] Samba 4.19.6 Available for Download
...nnouncements --------------------- This is the latest stable release of the Samba 4.19 release series. Changes since 4.19.5 -------------------- o? Ralph Boehme <slow at samba.org> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Guenther Deschner <gd at samba.org> ?? * BUG 15588: samba-gpupdate: Correctly implement site support. o? Noel Power <noel.power at suse.com> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Andreas Schn...
2024 Apr 08
0
[Announce] Samba 4.19.6 Available for Download
...nnouncements --------------------- This is the latest stable release of the Samba 4.19 release series. Changes since 4.19.5 -------------------- o? Ralph Boehme <slow at samba.org> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Guenther Deschner <gd at samba.org> ?? * BUG 15588: samba-gpupdate: Correctly implement site support. o? Noel Power <noel.power at suse.com> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Andreas Schn...
2007 Sep 14
1
[Bug 1288] ssh-add on Cygwin -- can't access ssh-agent socket
...supplied set of network events and enabled its nonblocking mode [hEventObject=0, lEvent==0] socket (704) disabled its nonblocking mode socket (704) specified an event object to be associated with the supplied set of network events and enabled its nonblocking mode [hEventObject=280, lEvent=FD_WRITE|FD_CLOSE] socket (704) sending data synchronously without blocking [len=4] socket (704) sent 4 bytes of data 0000 00 00 02 06 .... socket (704) specified an event object to be associated with the supplied set of network events and enabled its nonblocking mo...
2011 Aug 13
1
samba 3.6.0 core dump
...73]: #3 /lib/x86_64-linux-gnu/libc.so.6(+0x32480) [0x7f1ec91fe480] Aug 13 12:42:00 box smbd[29073]: #4 /usr/sbin/smbd(+0x11bc52) [0x7f1ecc54cc52] Aug 13 12:42:00 box smbd[29073]: #5 /usr/sbin/smbd(dptr_CloseDir+0x47) [0x7f1ecc54d437] Aug 13 12:42:00 box smbd[29073]: #6 /usr/sbin/smbd(fd_close+0x13) [0x7f1ecc59b843] Aug 13 12:42:00 box smbd[29073]: #7 /usr/sbin/smbd(close_file+0x218) [0x7f1ecc5a30e8] Aug 13 12:42:00 box smbd[29073]: #8 /usr/sbin/smbd(file_close_conn+0x4c) [0x7f1ecc549e7c] Aug 13 12:42:00 box smbd[29073]: #9 /usr/sbin/smbd(close_cnum+0x2c) [0x7f1ecc5bf26c] Au...
2024 Mar 27
0
[Announce] Samba 4.20.0 Available for Download
...Avoid null-dereference with bad claims. ?? * BUG 15613: ndr_pull_security_ace can leave resource attribute ACE coda ???? claim struct undefined. o? Ralph Boehme <slow at samba.org> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Bj?rn Jacke <bjacke at samba.org> ?? * BUG 15583: set_nt_acl sometimes fails with NT_STATUS_INVALID_PARAMETER - ???? openat() EACCES. o? Noel Power <noel.power at suse.com> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fai...
2024 Mar 27
0
[Announce] Samba 4.20.0 Available for Download
...Avoid null-dereference with bad claims. ?? * BUG 15613: ndr_pull_security_ace can leave resource attribute ACE coda ???? claim struct undefined. o? Ralph Boehme <slow at samba.org> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Bj?rn Jacke <bjacke at samba.org> ?? * BUG 15583: set_nt_acl sometimes fails with NT_STATUS_INVALID_PARAMETER - ???? openat() EACCES. o? Noel Power <noel.power at suse.com> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fai...
2018 Feb 27
2
tinc 1.1: missing PONG
...I'm undecided whether it should also be incremented by io_add(). Does this seem like the right direction? - todd diff --git a/src/event.c b/src/event.c index 33d205a..b60a6d7 100644 --- a/src/event.c +++ b/src/event.c @@ -387,71 +389,89 @@ bool event_loop(void) { Note that technically FD_CLOSE has the same problem, but it's okay because user code does not rely on this event being fired again if ignored. */ - io_t *writeable_io = NULL; + unsigned int curgen = io_tree.generation; - for splay_each(io_t, io, &io_tree) + for splay_each(io_t, io, &io_tree) { if(i...
2020 Oct 20
1
[PATCH nbdkit INCOMPLETE] New filter: exitwhen: exit gracefully when an event occurs.
This incomplete patch adds a new filter allowing more control over when nbdkit exits. You can now get nbdkit to exit gracefully on certain events, such as a file being created, a pipe held open by another process going away, or when another PID exits. There is also a script option to allow for completely custom events. It is untested at the moment, I'm posting it to get feedback on the
2020 Oct 21
0
[PATCH nbdkit] New filter: exitwhen: exit gracefully when an event occurs.
...+ +static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; +static unsigned connections = 0; +static bool exiting = false; + +/* The list of events generated from command line parameters. */ +struct event { + enum { EVENT_FILE_CREATED = 1, EVENT_FILE_DELETED, EVENT_PROCESS_EXITS, + EVENT_FD_CLOSED, EVENT_SCRIPT } type; + union { + char *filename; /* Filename or script. */ + int fd; /* For PROCESS_EXITS or FD_CLOSED. */ +#ifndef __linux__ + pid_t pid; /* For PROCESS_EXITS on non-Linux. */ +#endif + } u; +}; +DEFINE_VECTOR_TYPE(event...
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in