Displaying 20 results from an estimated 71 matches for "s_ifchr".
2009 Jul 09
0
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
...involved:
# ptree 10879
1083 /usr/local/sbin/sshd
9626 /usr/local/sbin/sshd -R
9649 /usr/local/sbin/sshd -R
9651 -tcsh
10879 vi /tmp/sshd.test_test
Running pfiles on pid 9649 we get:
# pfiles 9649
9649: /usr/local/sbin/sshd -R
Current rlimit: 256 file descriptors
0: 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
1: 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
2: S_IFCHR mode:0666 dev:356,0 ino:6815752 uid:0 gid:3...
2007 Aug 21
2
Dovecot should raise the limit of file descriptors at startup...
...unlimited
nofiles(descriptors) 256 65536
vmemory(kbytes) unlimited unlimited
Output from "pfiles" after we raised the limit manually:
# pfiles 26378 | head -10
26378: /ifm/sbin/dovecot -c /etc/dovecot.conf
Current rlimit: 16384 file descriptors
0: 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
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:18...
2004 Sep 05
4
Asterisk & sudo from httpd
...000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/asterisk.ctl"}, 110) = -1
EACCES (Permission denied)
close(3) = 0
time([1094419366]) = 1094419366
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xbf334000
write(1, "Unable to connect to remote aste"..., 37) = 37
munmap(0xbf334000, 4096) = 0
exit_group(1) = ?
----------------...
2018 Feb 02
2
Does samba support fsync() a directory?
...ITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f27a2568000
arch_prctl(ARCH_SET_FS, 0x7f27a2568740) = 0
mprotect(0x7f27a2354000, 16384, PROT_READ) = 0
mprotect(0x600000, 4096, PROT_READ) = 0
mprotect(0x7f27a257e000, 4096, PROT_READ) = 0
munmap(0x7f27a256b000, 73077) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f27a257c000
write(1, "open aaa\n", 9open aaa
) = 9
open("aaa", O_RDONLY|O_DIRECTORY) = 3
write(1, "sync aaa\n", 9sync aaa
)...
2007 Jan 24
1
[sfs@tc.umn.edu: Re: dovecot-auth file descriptor usage]
...t/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_CLOEXEC
6: S_IFIFO mode:0000 dev:295,0 ino:2692868 uid:65 gid:65 size:0...
2013 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
...dev);
+ goto cleanup;
+ }
+
+ if (lxcContainerSetupHostdevCapsMakePath(dev) < 0) {
+ virReportError(errno,
+ _("Failed to create directory for device %s"),
+ dev);
goto cleanup;
}
mode = 0700 | S_IFCHR;
- VIR_DEBUG("Creating dev %s (%d,%d)",
- def->source.caps.u.misc.chardev,
+ VIR_DEBUG("Creating dev %s (%d,%d)", dev,
major(sb.st_rdev), minor(sb.st_rdev));
- if (mknod(def->source.caps.u.misc.chardev, mode, sb.st_rdev) < 0) {
+...
2001 Oct 23
1
ssh/sshd go off in limbo-land after closing remote session (v2.9.9p2)
...e still file descriptors to be
handled)...
server> ptree 20441
20441 /opt/ssh/sbin/sshd -f /opt/ssh/etc/sshd_config
20497 /opt/ssh/sbin/sshd -f /opt/ssh/etc/sshd_config
server> pfiles 20497
20497: /opt/ssh/sbin/sshd -f /opt/ssh/etc/sshd_config
Current rlimit: 1024 file descriptors
0: S_IFCHR mode:0666 dev:136,0 ino:37794 uid:0 gid:3 rdev:13,2
O_RDWR
1: S_IFCHR mode:0666 dev:136,0 ino:37794 uid:0 gid:3 rdev:13,2
O_RDWR
2: S_IFCHR mode:0666 dev:136,0 ino:37794 uid:0 gid:3 rdev:13,2
O_RDWR
3: S_IFREG mode:0644 dev:136,5 ino:500893 uid:0 gid:1 size:1999
O_R...
2018 Feb 02
4
Does samba support fsync() a directory?
Hi group:
I need some help!
I use samba 4.5.8
And I mount a samba directory from CentOS 7.
When I run such program in the mounted directory:
```
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
int main() {
printf("open aaa\n");
int fd = open("aaa", O_RDONLY |
2015 Jan 15
1
[PATCH] mknod: filter modes in mkfifo, mknod_b, mknod_c (RHBZ#1182463).
..., 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 | S_IFCHR, devmajor, devminor, path);
}
diff --git a/generator/actions.ml b/generator/actions.ml
index 96a9dd6..c48ad1a 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -6173,7 +6173,9 @@ The mode actually set is affected by the umask." };
InitScratchFS, Always, TestResult (...
2008 Mar 10
2
SWAT Won't Start - Alarm Clock
...[], SA_RESTORER, 0x35fec8}, {SIG_IGN},
8) = 0
send(4, "<27>Mar 7 20:06:34 swat[31787]:"..., 69, 0) = 69
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
geteuid32() = 0
write(3, " Denied connection from (0.0.0"..., 36) = 36
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb738c000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb738b000
read(0, 0xb73...
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
2019 Jul 02
5
[Bug 1347] New: ebtables-nft: regression in -o option
https://bugzilla.netfilter.org/show_bug.cgi?id=1347
Bug ID: 1347
Summary: ebtables-nft: regression in -o option
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Debian GNU/Linux
Status: NEW
Severity: normal
Priority: P5
Component: iptables over nftable
Assignee:
2009 Mar 24
3
mmonit - Permission denied errot
...pews the following (in entireity):
[begin]
# strace ./bin/mmonit
execve("./bin/mmonit", ["./bin/mmonit"], [/* 28 vars */]) = -1 EACCES
(Permission denied)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fed000
_llseek(3, 0, 0xbfd7e7b4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
close(3...
2004 Jun 02
0
[PATCH] kill 2.4 dev_t vs kdev_t crap
...c (revision 969)
+++ src/inode.c (working copy)
@@ -1877,11 +1872,8 @@
case OCFS_ATTRIB_FIFO:
case OCFS_ATTRIB_SOCKET:
{
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
dev_t dev;
-#else
- kdev_t kdev;
-#endif
+
if (fe->attribs == OCFS_ATTRIB_CHAR)
inode->i_mode |= S_IFCHR;
else if (fe->attribs == OCFS_ATTRIB_BLOCK)
@@ -1892,18 +1884,8 @@
inode->i_mode |= S_IFSOCK;
inode->i_rdev = OCFS_NODEV;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
- dev = MKDEV (fe->dev_major, fe->dev_minor);
-#else
- kdev = MKDEV (fe->dev_major, fe-&...
2005 May 13
0
Zaptel and zttest
...RIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2aaaaadf3000
mprotect(0x2aaaaade8000, 16384, PROT_READ) = 0
mprotect(0x2aaaaabbf000, 4096, PROT_READ) = 0
arch_prctl(0x1002, 0x2aaaaadf2b00) = 0
munmap(0x2aaaaaac1000, 150975) = 0
open("/dev/zap/pseudo", O_RDWR) = 3
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2aaaaaac1000
write(1, "Opened pseudo zap interface, mea"..., 51Opened pseudo zap
interface, measuring accuracy...
) = 51
rt_sigaction(SIGHUP, {0x400910, [HUP], SA_RESTAR...
2007 May 13
0
wbinfo's timeout to lookup sid
...ULL, NULL, {5, 0}) = 1 (in [4], left {5, 0})
This function uses the timeout of 5 seconds. This time it was successful,
but when it does not succeed it is tried again.
> read(4, "\24\5\0\0\2\0\0\0\241`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1300) = 1300
> fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 5), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7e2a000
> write(1, "24737\n", 6) = 6
> munmap(0xb7e2a000, 4096) = 0
> exit_group(0) = ?
In...
2010 Nov 10
0
[PATCH] utils: mknod massage
...);
if (argv[0][0] == '-' && argv[0][1] == 'm' && !argv[0][2]) {
mode_set = strtoul(argv[1], &endp, 8);
@@ -36,7 +38,7 @@ int main(int argc, char *argv[])
typec = type[0];
mode = 0;
- switch (type[0]) {
+ switch (typec) {
case 'c':
mode = S_IFCHR;
break;
--
1.7.2.3
2004 Sep 16
3
[PATCH] gen_init_cpio processes file from a file list
The patch makes gen_init_cpio generate the initramfs_data.cpio from a
file which contains a list of entries: file, dir, nod. I swapped the
order of filename/location for the file arguments so that it would be
more uniform with the dir and nod tyes.
[thayne@torch linux-2.6.8]$ usr/gen_init_cpio --help
ERROR: unable to open '--help': No such file or directory
Usage:
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