search for: s_ififo

Displaying 20 results from an estimated 36 matches for "s_ififo".

2009 Mar 04
3
[Bug 1566] New: superfluous descriptor duplications in sftp-server
...P3 Component: sftp-server AssignedTo: unassigned-bugs at mindrot.org ReportedBy: Jan.Pechanec at Sun.COM Created an attachment (id=1609) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1609) suggested patch pfiles on running sftp-server shows: ... ... 3: S_IFIFO mode:0000 dev:329,0 ino:91352 uid:0 gid:0 size:0 O_RDWR 4: S_IFIFO mode:0000 dev:329,0 ino:91353 uid:0 gid:0 size:0 O_RDWR those descriptors are created by 2 dup() calls on STD(IN|OUT)_FILENO. However, there is no need for that and sftp-server can work directly with 0 and 1. I see t...
2007 Aug 21
2
Dovecot should raise the limit of file descriptors at startup...
.../export/zones/dovecot/root/dev/null 1: S_IFCHR mode:0666 dev:327,15 ino:18128 uid:0 gid:3 rdev:13,2 O_RDONLY|O_LARGEFILE /export/zones/dovecot/root/dev/null 2: S_IFCHR mode:0666 dev:327,15 ino:18128 uid:0 gid:3 rdev:13,2 O_RDONLY|O_LARGEFILE # pfiles 26378 | tail -10 243: S_IFIFO mode:0000 dev:324,0 ino:2038192 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK FD_CLOEXEC 246: S_IFIFO mode:0000 dev:324,0 ino:2048002 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK FD_CLOEXEC 247: S_IFIFO mode:0000 dev:324,0 ino:2048441 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK FD_CLOEXEC 258: S_IFIFO...
2007 Jan 24
1
[sfs@tc.umn.edu: Re: dovecot-auth file descriptor usage]
...du> To: Dovecot Mailing List <dovecot at dovecot.org> User-Agent: Mutt/1.4.2.1i Subject: Re: [Dovecot] dovecot-auth file descriptor usage Okay, here is one which has closed fds 0 and 1, so I presume it is proxying SSL: 11988: imap-login Current rlimit: unlimited file descriptors 2: S_IFIFO mode:0000 dev:295,0 ino:2692866 uid:0 gid:1 size:0 O_RDWR 4: S_IFCHR mode:0644 dev:287,0 ino:99614726 uid:0 gid:3 rdev:190,1 O_RDONLY|O_LARGEFILE FD_CLOEXEC /devices/pseudo/random at 0:urandom 5: S_IFIFO mode:0000 dev:295,0 ino:2692868 uid:65 gid:65 size:0 O_RDWR FD_CL...
2003 Nov 30
0
FreeBSD mknod refuses to create pipes and fifos
...ple: mkfifo /tmp/fifo rsync -avP /var/run/log /tmp/fifo /tmp/output/ >Fix: Suggested patches to kernel: --- sys/kern/vfs_syscalls.c.orig Sun Nov 30 00:59:29 2003 +++ sys/kern/vfs_syscalls.c Sun Nov 30 01:25:35 2003 @@ -1189,6 +1189,10 @@ case S_IFBLK: error = suser(p); break; + case S_IFIFO: + case S_IFSOCK: + error = 0; + break; default: error = suser_xxx(0, p, PRISON_ROOT); break; @@ -1217,6 +1221,12 @@ break; case S_IFBLK: vattr.va_type = VBLK; + break; + case S_IFSOCK: + vattr.va_type = VSOCK; + break; + case S_IFIFO: + vattr.va_type = VFIFO; bre...
1999 Aug 26
0
smbsh always segfaults
...= 0 socket(PF_UNIX, SOCK_STREAM, 0) = 6 connect(6, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused) close(6) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 6 fstat(6, {st_mode=S_IFIFO|S_ISUID|0241, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4006e000 read(6, "#\n# /etc/nsswitch.conf\n#\n# An"..., 4096) = 1542 read(6, "", 4096) = 0 close(6) = 0 munmap(0x4006...
2001 Feb 08
1
question re:scp
....dump . > zditf2usrusers.dump 0% | | 0 --:-- ETA > protocol error: expected control record > Write failed flushing stdout buffer. > write stdout: Broken pipe > > where strace has the following to say at this point: > fstat64(6, {st_mode=S_IFIFO|0600, st_size=1, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 > _llseek(6, 0, 0xbfffebc4, SEEK_CUR) = -1 ESPIPE (Illegal seek) > > so the correct fstat for files >2G is taken, but llseek instead of llseek64. > > *sh...
2007 Feb 20
3
1.0.rc23 released
http://dovecot.org/releases/dovecot-1.0.rc23.tar.gz http://dovecot.org/releases/dovecot-1.0.rc23.tar.gz.sig Documentation is probably the only important thing left before v1.0. * deliver doesn't ever exit with Dovecot's internal exit codes anymore. All its internal exit codes are changed to EX_TEMPFAIL. * mbox: X-Delivery-ID header is now dropped when saving mails. * mbox: If
2007 Feb 20
3
1.0.rc23 released
http://dovecot.org/releases/dovecot-1.0.rc23.tar.gz http://dovecot.org/releases/dovecot-1.0.rc23.tar.gz.sig Documentation is probably the only important thing left before v1.0. * deliver doesn't ever exit with Dovecot's internal exit codes anymore. All its internal exit codes are changed to EX_TEMPFAIL. * mbox: X-Delivery-ID header is now dropped when saving mails. * mbox: If
2009 Apr 20
6
DO NOT REPLY [Bug 6280] New: (Bug incl. PATCH) Linux mknod does not work when syncing fifos and sockets from Solaris
https://bugzilla.samba.org/show_bug.cgi?id=6280 Summary: (Bug incl. PATCH) Linux mknod does not work when syncing fifos and sockets from Solaris Product: rsync Version: 3.0.6 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo:
2009 Aug 11
5
Failed to retrieve current state of resource: No child processes
...med> ) = 1 10 10764 <... fcntl64 resumed> ) = 0 (flags O_RDONLY) 11 10833 close(7 <unfinished ...> 12 10764 fstat64(5, <unfinished ...> 13 10833 <... close resumed> ) = 0 14 10764 <... fstat64 resumed> {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 15 10833 close(3 <unfinished ...> 16 10764 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...> 17 10833 <... close resumed> ) = 0 18 10764 <... mmap2 resumed> ) = 0xb7843...
2000 Apr 21
5
BeOS diffs
...e int64_t in codec.h #ifdef __BEOS__ #include <inttypes.h> #endif run.c in vq needs 'changing' around line 141 becuase S_IFSOCK isn't defined anywhere in BeOS's headers (BeOS doesn't do the sockets as file pointers thing although its coming soon) #ifdef __BEOS__ if((S_IFIFO|S_IFREG)&st.st_mode){ #else if((S_IFIFO|S_IFREG|S_IFSOCK)&st.st_mode){ #endif Finally in all the makefiles BeOS doesn't need the maths libraries, so for BeOS to link the '-lm' has to go. The host system it finds is i586-pc-beos I hope this can be of some use Dave --- &...
2001 Jan 23
11
cc & no 64bit int patches
Here are a couple of patches against the CVS (Jan 22 18:41 PST) Some C++ comments found their way into ssh.h The no64.patch puts ifdefs around buffer_get_int64() now in bufaux.[c,h] -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net -------------- next part -------------- --- ssh.h.old Mon Jan 22 18:40:58 2001 +++ ssh.h Mon Jan 22 19:02:02 2001 @@ -25,8 +25,10 @@ # include
2015 Jan 15
1
[PATCH] mknod: filter modes in mkfifo, mknod_b, mknod_c (RHBZ#1182463).
...+ return -1; \ + } \ + } while (0) + int do_mknod (int mode, int devmajor, int devminor, const char *path) { @@ -63,18 +72,24 @@ do_mknod (int mode, int devmajor, int devminor, const char *path) int do_mkfifo (int mode, const char *path) { + CHECK_MODE; + return do_mknod (mode | S_IFIFO, 0, 0, path); } int do_mknod_b (int mode, int devmajor, int devminor, const char *path) { + CHECK_MODE; + return do_mknod (mode | S_IFBLK, devmajor, devminor, path); } int do_mknod_c (int mode, int devmajor, int devminor, const char *path) { + CHECK_MODE; + return do_mknod (mode...
2009 Jul 09
0
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
.../mm at 0:null 2: S_IFCHR mode:0666 dev:356,0 ino:6815752 uid:0 gid:3 rdev:13,2 O_RDWR|O_LARGEFILE /devices/pseudo/mm at 0:null 3: S_IFDOOR mode:0444 dev:365,0 ino:92 uid:0 gid:0 size:0 O_RDONLY|O_LARGEFILE FD_CLOEXEC door to nscd[2394] /var/run/name_service_door 4: S_IFIFO mode:0000 dev:354,0 ino:16183814 uid:12962 gid:4640 size:0 O_RDWR|O_NONBLOCK FD_CLOEXEC 5: S_IFSOCK mode:0666 dev:363,0 ino:2848 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK SOCK_STREAM SO_REUSEADDR,SO_KEEPALIVE,SO_SNDBUF(49152),SO_RCVBUF(49232),IP_NEXTHOP(0.0.192.80)...
2011 Jul 07
5
[PATCH 0/5] checkpatch cleanups
It seems checkpatch errors krept in, this is a first go. Next run will go into usr/kinit directory. No code changes, just codingstyle fixes (verified with size(3)). maximilian attems (5): [klibc] sleep: have argument on next line [klibc] readklink: remove unneeded braces [klibc] mount: whitespace policy [klibc] ls: fix various checkpatch complaints [klibc] tests: checkpatch fixlets
2008 Mar 18
5
xexec and dovecot 1.1
I'll test very interesting plugin xexec. It seems very nice and can be used in many things. It's compiled perfect with dovecot 1.0, but certanly not with dovecot 1.1. It's stopped with next error: In file included from cmd-xexec.c:30: xexec.h:8: error: expected specifier-qualifier-list before 'array_t' cmd-xexec.c: In function 'cmd_xexec': cmd-xexec.c:134: error:
2011 May 03
3
Issue with geo-replication and nfs auth
hi, I've some issue with geo-replication (since 3.2.0) and nfs auth (since initial release). Geo-replication --------------- System : Debian 6.0 amd64 Glusterfs: 3.2.0 MASTER (volume) => SLAVE (directory) For some volume it works, but for others i can't enable geo-replication and have this error with a faulty status: 2011-05-03 09:57:40.315774] E
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
...n; +} + +static void do_stat(const struct stat *st, const char *path) +{ + char *fmt, *link_name; + int rc; + + switch (st->st_mode & S_IFMT) { + case S_IFBLK: putchar('b'); break; + case S_IFCHR: putchar('c'); break; + case S_IFDIR: putchar('d'); break; + case S_IFIFO: putchar('p'); break; + case S_IFLNK: putchar('l'); break; + case S_IFSOCK: putchar('s'); break; + case S_IFREG: putchar('-'); break; + default: putchar('?'); break; + } + putchar(STAT_ISSET(st->st_mode, S_IRUSR) ? 'r' : '-');...
2014 Apr 16
2
syslinux fails to make a bootable USB stick in Slackware64-14.1 installer
...status=1, si_utime=0, si_stime=0} --- pipe2([4, 5], O_CLOEXEC) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5949c38a10) = 6084 close(4) = 0 fcntl(5, F_SETFD, 0) = 0 fstat(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5949c3c000 write(5, "\r\nSYSLINUX 4.06 \0\r\n\32\0\0\0\0\376\2\262>\257s\214o"..., 36864) = 36864 write(5, "\245/-Zg\27\4\243\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0&q...
2009 May 28
1
[PATCH] klibc-utils: add minils
...onst struct stat *st, const char *path) +{ + size_t max_siz = 128; + size_t sz; + char *fmt, *link_name; + + switch (st->st_mode & S_IFMT) { + case S_IFBLK: printf("b"); break; + case S_IFCHR: printf("c"); break; + case S_IFDIR: printf("d"); break; + case S_IFIFO: printf("p"); break; + case S_IFLNK: printf("l"); break; + case S_IFSOCK: printf("s"); break; + case S_IFREG: printf("-"); break; + default: printf("?"); break; + } + printf ("%s%s", + STAT_ISSET(st->st_mode, S_IRUS...