search for: close_file

Displaying 20 results from an estimated 50 matches for "close_file".

2023 Jul 11
1
[libguestfs PATCH] lib: remove guestfs_int_cmd_clear_close_files()
The last (only?) caller of guestfs_int_cmd_clear_close_files() disappeared in commit e4c396888056 ("lib/info: Remove /dev/fd hacking and pass a true filename to qemu-img info.", 2018-01-23), part of v1.37.36. Simplify the code by removing guestfs_int_cmd_clear_close_files(). Signed-off-by: Laszlo Ersek <lersek at redhat.com> --- lib/guest...
2006 Apr 27
1
ADS mode with ReiserFS freezes Server
...! [2006/04/25 12:58:50, 2] smbd/server.c:exit_server(614) Closing connections [2006/04/25 12:58:50, 0] tdb/tdbutil.c:tdb_log(772) tdb(/var/run/samba/locking.tdb): tdb_lock failed on list 365 ltype=1 (Resource deadlock avoided) [2006/04/25 12:58:50, 0] smbd/close.c:close_normal_file(204) close_file: Could not get share mode lock for file [2006/04/25 12:58:50, 0] tdb/tdbutil.c:tdb_log(772) tdb(/var/run/samba/locking.tdb): tdb_lock failed on list 365 ltype=1 (Resource deadlock avoided) [2006/04/25 12:58:50, 0] smbd/close.c:close_normal_file(204) close_file: Could not get share mode lock...
2008 Mar 11
1
Signal 11 in Samba adding Windows XP printer driver
...til.c:smb_panic(1654) PANIC (pid 29631): internal error [2008/03/09 17:19:48, 0] lib/util.c:log_stack_trace(1758) BACKTRACE: 24 stack frames: #0 smbd(log_stack_trace+0x2d) [0xb36b9d] #1 smbd(smb_panic+0x5d) [0xb36ccd] #2 smbd [0xb216ba] #3 [0x110420] #4 smbd [0x9a53fc] #5 smbd(close_file+0x417) [0x9a58e7] #6 smbd [0xb63bb2] #7 smbd(move_driver_to_download_area+0x80d) [0xb66cfd] #8 smbd(_spoolss_addprinterdriver+0x165) [0xa515f5] #9 smbd(_spoolss_addprinterdriverex+0xc1) [0xa51d11] #10 smbd [0xa3df9e] #11 smbd(api_rpcTNP+0x1dd) [0xa7842d] #12 smbd(api_pipe_reque...
2009 Feb 16
2
A beautiful panic action
...sbin/smbd [0x2af325c980da] #3 /lib64/libpthread.so.0 [0x2af327b4de70] #4 /usr/local/sbin/smbd(destroy_fake_file_handle+0x1e) [0x2af325b355a1] #5 /usr/local/sbin/smbd(file_free+0x7d) [0x2af325ac6832] #6 /usr/local/sbin/smbd(close_fake_file+0x9) [0x2af325b35579] #7 /usr/local/sbin/smbd(close_file+0x32e) [0x2af325b1901a] #8 /usr/local/sbin/smbd [0x2af325cd4dcd] #9 /usr/local/sbin/smbd(move_driver_to_download_area+0xa21) [0x2af325cd7728] #10 /usr/local/sbin/smbd(_spoolss_addprinterdriver+0x1c2) [0x2af325bff4fd] #11 /usr/local/sbin/smbd(_spoolss_addprinterdriverex+0x90) [0x2af32...
2017 Jan 07
2
frequent core dumps (invalid lock_order?)
...../source3/modules/vfs_full_audit.c:1333 #12 0x00007fc5a683540c in close_remove_share_mode (close_type=NORMAL_CLOSE, fsp=0x7fc5a896e3c0) at ../source3/smbd/close.c:440 #13 close_normal_file (close_type=NORMAL_CLOSE, fsp=0x7fc5a896e3c0, req=0x7fc5a893e330) at ../source3/smbd/close.c:747 #14 close_file (req=req at entry=0x7fc5a893e330, fsp=fsp at entry=0x7fc5a896e3c0, close_type=close_type at entry=NORMAL_CLOSE) at ../source3/smbd/close.c:1220 #15 0x00007fc5a6869f75 in smbd_smb2_close (req=req at entry=0x7fc5a893dc50, fsp=fsp at entry=0x7fc5a896e3c0 ...
2013 Jan 09
0
[LLVMdev] [lld] ELF weak aliases
...:~/Projects/test$ objdump -st > ../musl/src/stdio/__stdio_exit.o > > ../musl/src/stdio/__stdio_exit.o: file format elf64-x86-64 > > SYMBOL TABLE: > 0000000000000000 l df *ABS* 0000000000000000 src/stdio/__stdio_exit.c > 0000000000000044 l F .text 0000000000000049 close_file > 0000000000000000 l O .rodata 0000000000000008 dummy_file > 0000000000000000 l d .text 0000000000000000 .text > 0000000000000000 l d .data 0000000000000000 .data > 0000000000000000 l d .bss 0000000000000000 .bss > 0000000000000000 l d .rodata 00...
2013 Jan 09
4
[LLVMdev] [lld] ELF weak aliases
...bject file: mspencer at mspencer-vm:~/Projects/test$ objdump -st ../musl/src/stdio/__stdio_exit.o ../musl/src/stdio/__stdio_exit.o: file format elf64-x86-64 SYMBOL TABLE: 0000000000000000 l df *ABS* 0000000000000000 src/stdio/__stdio_exit.c 0000000000000044 l F .text 0000000000000049 close_file 0000000000000000 l O .rodata 0000000000000008 dummy_file 0000000000000000 l d .text 0000000000000000 .text 0000000000000000 l d .data 0000000000000000 .data 0000000000000000 l d .bss 0000000000000000 .bss 0000000000000000 l d .rodata 0000000000000000 .rodata 00...
1998 Dec 16
3
Difference between samba 2.0.0beta4 and NT4.0 ?
...sage copmes up. A real Microsoft-NT-server can handle the UNC-name in the shortcut-properties, I've tried it. The samba-logfile says : [1998/12/16 13:16:04, 2] smbd/open.c:open_file(534) pp3021 opened file foo.txt.lnk read=Yes write=No (numopen=2) [1998/12/16 13:16:04, 2] smbd/close.c:close_file(163) cad closed file foo.txt.lnk (numopen=1) [1998/12/16 13:16:04, 2] smbd/open.c:open_file(534) pp3021 opened file foo.txt.lnk read=Yes write=No (numopen=2) [1998/12/16 13:16:04, 2] smbd/close.c:close_file(163) cad closed file foo.txt.lnk (numopen=1) (My NT-account is pp3021, which is mappe...
2011 Aug 13
1
samba 3.6.0 core dump
...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] Aug 13 12:42:00 box smbd[29073]: #10 /usr/sbin/smbd(+0x19e884) [0x7f1ecc5cf884] Aug 13...
2013 Nov 19
2
[PATCH] Add filesystem UUID to SYSAPPEND for FAT
...100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -5,6 +5,7 @@ #include <unistd.h> #include <fcntl.h> #include <dprintf.h> +#include <syslinux/sysappend.h> #include "core.h" #include "dev.h" #include "fs.h" @@ -374,6 +375,13 @@ __export void close_file(uint16_t handle) } } +__export char *fs_uuid(void) +{ + if (!this_fs || !this_fs->fs_ops || !this_fs->fs_ops->fs_uuid) + return NULL; + return this_fs->fs_ops->fs_uuid(this_fs); +} + /* * it will do: * initialize the memory management function; @@ -440,4 +448,8...
2013 Jun 26
6
[PROGS PATCH] Import btrfs-extent-same
Originally from https://github.com/markfasheh/duperemove/blob/master/btrfs-extent-same.c Signed-off-by: Gabriel de Perthuis <g2p.code+btrfs@gmail.com> --- .gitignore | 1 + Makefile | 2 +- btrfs-extent-same.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 1 deletion(-) create mode 100644 btrfs-extent-same.c diff
2017 Jan 07
0
frequent core dumps (invalid lock_order?)
...c:1333 > #12 0x00007fc5a683540c in close_remove_share_mode > (close_type=NORMAL_CLOSE, fsp=0x7fc5a896e3c0) > at ../source3/smbd/close.c:440 > #13 close_normal_file (close_type=NORMAL_CLOSE, fsp=0x7fc5a896e3c0, > req=0x7fc5a893e330) > at ../source3/smbd/close.c:747 > #14 close_file (req=req at entry=0x7fc5a893e330, > fsp=fsp at entry=0x7fc5a896e3c0, > close_type=close_type at entry=NORMAL_CLOSE) > at ../source3/smbd/close.c:1220 #15 0x00007fc5a6869f75 in > smbd_smb2_close (req=req at entry=0x7fc5a893dc50, > fsp=fsp at entry=0x7fc5a896e3c0 ... Can you post your...
2019 Feb 08
0
[Announce] Samba 4.8.9 Available for Download
...ATUS_OBJECT_NAME_INVALID. * BUG 13736: s3: libsmb: Use smb2cli_conn_max_trans_size() in cli_smb2_list(). o Günther Deschner <gd at samba.org> * BUG 13708: s3-vfs: Prevent NULL pointer dereference in vfs_glusterfs. * BUG 13720: s3-smbd: Avoid assuming fsp is always intact after close_file call. * BUG 13725: s3-vfs-fruit,s3-vfs-streams_xattr: Add close call. * BUG 13774: s3-vfs: Add glusterfs_fuse vfs module. o Aaron Haslett <aaronhaslett at catalyst.net.nz> * BUG 13738: dns: Changing onelevel search for wildcard to subtree. o Stefan Metzmacher <metze at sa...
2019 Feb 08
0
[Announce] Samba 4.8.9 Available for Download
...ATUS_OBJECT_NAME_INVALID. * BUG 13736: s3: libsmb: Use smb2cli_conn_max_trans_size() in cli_smb2_list(). o Günther Deschner <gd at samba.org> * BUG 13708: s3-vfs: Prevent NULL pointer dereference in vfs_glusterfs. * BUG 13720: s3-smbd: Avoid assuming fsp is always intact after close_file call. * BUG 13725: s3-vfs-fruit,s3-vfs-streams_xattr: Add close call. * BUG 13774: s3-vfs: Add glusterfs_fuse vfs module. o Aaron Haslett <aaronhaslett at catalyst.net.nz> * BUG 13738: dns: Changing onelevel search for wildcard to subtree. o Stefan Metzmacher <metze at sa...
2008 May 27
1
Problem installing Printer-Drivers (solved)
...#3 /lib64/libpthread.so.0 [0x2b6002946130] #4 /lib64/libc.so.6(strlen+0x20) [0x2b6003e99d70] #5 /lib64/libc.so.6(_IO_vfprintf+0x3d3f) [0x2b6003e6b34f] #6 /lib64/libc.so.6(__vsnprintf_chk+0xa8) [0x2b6003ef84b8] #7 /usr/sbin/smbd(dbgtext+0xcd) [0x55555575ff4d] #8 /usr/sbin/smbd(close_file+0x5d7) [0x555555618567] #9 /usr/sbin/smbd [0x55555579b5cc] #10 /usr/sbin/smbd(move_driver_to_download_area+0x6c0) [0x55555579dc00] #11 /usr/sbin/smbd(_spoolss_addprinterdriver+0xf9) [0x5555556adca9] #12 /usr/sbin/smbd(_spoolss_addprinterdriverex+0xa9) [0x5555556ae279] #13 /usr/s...
2023 May 22
1
[PATCH 3/3] fork, vhost: Use CLONE_THREAD to fix freezer/ps regression
.../ vhost_task_stop() and when this > > will happen after this thread gets SIGKILL ? > > When we get a SIGKILL, the thread that owns the device/vhost_task will > also exit since it's the same thread group and it does: > > do_exit -> exit_files -> put_files_struct -> close_files -> fput Ah. thanks. I confused CLONE_FS in vhost_task_create() with CLONE_FILES. > > Also. Suppose that vhost_worker() dequeues SIGKILL and clears TIF_SIGPENDING. > > > > SIGSTOP, PTRACE_INTERRUPT, freezer can come and set TIF_SIGPENDING again. > > In this case the mai...
2019 Dec 10
2
Troubles with Mac clients
...d-base-samba4.so > #14 0x00000008016b5696 in smbd_smb1_notify_reply () from /usr/local/lib/samba4/private/libsmbd-base-samba4.so > #15 0x00000008017472d5 in remove_pending_change_notify_requests_by_fid () from /usr/local/lib/samba4/private/libsmbd-base-samba4.so > #16 0x00000008016ef326 in close_file () from /usr/local/lib/samba4/private/libsmbd-base-samba4.so > #17 0x0000000801696c92 in file_close_conn () from /usr/local/lib/samba4/private/libsmbd-base-samba4.so > #18 0x000000080170f3d5 in close_cnum () from /usr/local/lib/samba4/private/libsmbd-base-samba4.so > #19 0x0000000801738ccc...
1999 Apr 13
0
Printers now don't work - what can I check?
...smbd/open.c:fd_attempt_close(158) fd_attempt_close fd = 10, dev = 301, inode = 210130, open_flags = 2, ref_count = 1. [1999/04/13 12:37:20, 3] printing/printing.c:print_file(124) Running the command `lp -c -dlj4m mercur.kufJ7z; rm mercur.kufJ7z' gave 0 [1999/04/13 12:37:20, 2] smbd/close.c:close_file(165) steve closed file mercur.kufJ7z (numopen=0) Can anyone suggest a course of action to determine why my shared printers won't? Thank you. *** Steve Snyder ***
2019 Mar 12
0
[Announce] Samba 4.9.5 Available for Download
...BUG 13776: tldap: Avoid use after free errors. * BUG 13802: Fix idmap xid2sid cache churn. * BUG 13812: access_check_max_allowed() doesn't process "Owner Rights" ACEs. o Günther Deschner <gd at samba.org> * BUG 13720: s3-smbd: Avoid assuming fsp is always intact after close_file call. * BUG 13725: s3-vfs-fruit: Add close call. * BUG 13746: s3-smbd: Use fruit:model string for mDNS registration. * BUG 13774: s3-vfs: add glusterfs_fuse vfs module. o David Disseldorp <ddiss at samba.org> * BUG 13766: printing: Check lp_load_printers() prior to pcap cac...
2019 Mar 12
0
[Announce] Samba 4.9.5 Available for Download
...BUG 13776: tldap: Avoid use after free errors. * BUG 13802: Fix idmap xid2sid cache churn. * BUG 13812: access_check_max_allowed() doesn't process "Owner Rights" ACEs. o Günther Deschner <gd at samba.org> * BUG 13720: s3-smbd: Avoid assuming fsp is always intact after close_file call. * BUG 13725: s3-vfs-fruit: Add close call. * BUG 13746: s3-smbd: Use fruit:model string for mDNS registration. * BUG 13774: s3-vfs: add glusterfs_fuse vfs module. o David Disseldorp <ddiss at samba.org> * BUG 13766: printing: Check lp_load_printers() prior to pcap cac...