search for: rlimit_cor

Displaying 19 results from an estimated 19 matches for "rlimit_cor".

Did you mean: rlimit_core
2003 Mar 27
2
Samba and CCC
...lobfree64 __P ((glob64_t *__pglob)); - ------------^ cc: Warning: smbd/server.c, line 450: In this statement, the referenced type of the pointer value "&rlp" is "struct rlimit", which is not compatible with "struct rlimit64". (ptrmismatch) getrlimit(RLIMIT_CORE, &rlp); - ---------------------------------------^ cc: Warning: smbd/server.c, line 452: In this statement, the referenced type of the pointer value "&rlp" is "struct rlimit", which is not compatible with "const struct rlimit64". (ptrmismatch)...
2011 Jan 27
1
Bus error while allocating hugepages in domain 0
...s not as per expectation. Can anyone explain whether it has really allocated huge pages as calling mmap with MAP_HUGETLB using ]addr = mmap((void *)0x0UL,600UL*1024*1024 , PROT_WRITE,MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB , 0, 0); also results into a bus error. ]dmesg- Process 4617(a.out) has RLIMIT_CORE set to 0 Aborting core ]strace- --- SIGBUS (Bus error) @ 0 (0) --- +++ killed by SIGBUS +++ Bus error -- Kaustubh Kabra* <http://www.kaustubhwise.000a.biz>* _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xe...
2002 Jun 26
0
[Bug 301] New: In openssh 3.3 and 3.4 pam session seems be called from non-root
...U, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_FSIZE, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_DATA, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_STACK, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_CORE, {rlim_cur=50000*1024, rlim_max=50000*1024}) = -1 EPERM (Operation not permitted) 11860 setrlimit(RLIMIT_RSS, {rlim_cur=2147483647, rlim_max=2147483647}) = 0 11860 setrlimit(RLIMIT_NPROC, {rlim_cur=257, rlim_max=257}) = 0 11860 setrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 11860 set...
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
...gafton at sorosis.ro + * + * We are passed a string of the form ('BASH' constants for ulimit) + * [Aa][Cc][Dd][Ff][Mm][Nn][Rr][Ss][Tt][Uu][Ll][Pp] + * (eg. 'C2F256D2048N5' or 'C2 F256 D2048 N5') + * where: + * [Aa]: a = RLIMIT_AS max address space (KB) + * [Cc]: c = RLIMIT_CORE max core file size (KB) + * [Dd]: d = RLIMIT_DATA max data size (KB) + * [Ff]: f = RLIMIT_FSIZE Maximum filesize (KB) + * [Mm]: m = RLIMIT_MEMLOCK max locked-in-memory address space (KB) + * [Nn]: n = RLIMIT_NOFILE max number of open files + * [Rr]: r = RLIMIT_RSS max resident set size (KB) + * [...
2000 Oct 03
1
Various platforms
...uid(-1,euid)); } #endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */ /* JPK */ int seteuid(uid_t euid) { return(setresuid(-1,euid,-1)); } ----------- This appears to be correct based on the documentation, and appears to work. Also under the same version of HP-UX, you use RLIMIT_CORE, however this isn't defined in the include files except in <sys/resource.h>, and even then only for _KERNEL. My kludge was to copy the correct entry from that header file into ssh.c. The resultant statically linked binary appears to work for HP-UX 9 and HP-UX 10. I have not tested the...
2001 Apr 05
0
HP-UX 9 problems (hangs on logout; tty isn't sane)
...d to inclusion in the source tree, but they might point someone in the right direction for a more robust solution. The seteuid() "hack" isn't too bad, though the comments are a bit excessive. (Upshot: HP-UX 9.05 has setuid() and setresuid() but not seteuid() or setreuid(); RLIMIT_CORE is only defined if _KERNEL is defined (it's labeled "unsupported BSD stuff" in <sys/resource.h>); and the "#ifdef __hpux" stuff in auth-passwd.c doesn't work on 9.05. Ugh.) * "ssh localhost command" works just fine, as does "ssh remotehost com...
1999 Sep 15
0
FreeBSD Security Advisory: FreeBSD-SA-99:04.core
...*/ #endif #define O_CREAT 0x0200 /* create if nonexistent */ #define O_TRUNC 0x0400 /* truncate to zero length */ *** kern/LINK/kern_sig.c Sat Dec 21 10:57:24 1996 --- kern/kern_sig.c Fri Aug 27 14:38:25 1999 *************** *** 1241,1249 **** p->p_rlimit[RLIMIT_CORE].rlim_cur) return (EFAULT); sprintf(name, "%s.core", p->p_comm); ! NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, name, p); if ((error = vn_open(&nd, ! O_CREAT | FWRITE, S_IRUSR | S_IWUSR))) return (error); vp = nd.ni_vp; --- 1241,1249...
2010 Aug 26
4
[REPOST] guestfsd core capture, and virt-rescue clean shutdown
This is a repost of a previously posted set. It's been updated following review comments. [PATCH 1/4] Add a core_pattern debug command Added missing return statements. [PATCH 2/4] Call sync after guestfsd exits Remove redundant sleep 1; sync [PATCH 3/4] Shut down the appliance cleanly [PATCH 4/4] Ignore launch() error in virt-rescue These were previously 2 patches. They are otherwise
2010 Aug 03
3
Generate coredumps of the guestfs appliance
[PATCH 1/3] Add a core_pattern debug command The first patch is just a rework of Rich's earlier core dump patch. It turns it into a debug subcommand so it can be called at any time. This also has the advantage of explicitly labelling an extremely untidy API as debug. [PATCH 2/3] Call sync after guestfsd exits The second patch seems to be required for cores to be dumped reliably. I was able to
2023 Mar 15
4
[libnbd PATCH v4 0/3] lib/utils: add async-signal-safe assert()
This is version 4 of the following sub-series: [libnbd PATCH v3 06/29] lib/utils: introduce xwrite() as a more robust write() [libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert() [libnbd PATCH v3 08/29] lib/utils: add unit test for async-signal-safe assert() http://mid.mail-archive.com/20230215141158.2426855-7-lersek at redhat.com
2003 Aug 20
1
5.1-R: zero byte core file.
...123456789012345678901234567890", 40); with same results on 5.1-R(0 byte core file) and 4.4-R(get a core usable with gdb). - "ulimit -a" on the 5.1-R machine gives core file size (blocks, -c) unlimited - Just to be sure I used getrlimit() to find what this limit is for RLIMIT_CORE im my processes, and it is RLIM_INFINITY. - I did the basic checks like write permission on current directory, it looks fine. Can someone help me resolve this? Thanks, Yogeshwar.
2023 Mar 16
1
[libnbd PATCH v4 3/3] lib/utils: add unit test for async-signal-safe assert()
...k for various libc functions, all optional. >> dnl >> dnl posix_fadvise helps to optimise linear reads and writes. >> dnl >> +dnl When /proc/sys/kernel/core_pattern starts with a pipe (|) symbol, Linux >> +dnl ignores "ulimit -c" and (equivalent) setrlimit(RLIMIT_CORE) actions, for >> +dnl disabling core dumping. Only prctl() can be used then, for that purpose. >> +dnl >> dnl strerrordesc_np (glibc only) is preferred over sys_errlist: >> dnl https://lists.fedoraproject.org/archives/list/glibc at lists.fedoraproject.org/thread/WJHGG2OO7...
2002 May 14
1
AIX capabilities not set
Hi, we're in the process of setting up large-page support on IBM regattas, but for large-page support the users have to have a set of extra capabilities (CAP_BYPASS_RAC_VMM,CAP_PROPAGATE). This are configured on a per user basis by listing which capability each user have in /etc/security/user. Unfortunately they don't get set when the users log in via OpenSSH (3.1p1). Does anybody know
2010 Jul 21
3
smbd -D hangs
I'm testing both sunfreeware and official sun (sfw) samba on Solaris 10. For some reason since yesterday, the smbd process just "hangs" at the start. No log is generated on server side Where smbd is started, I can't find any open port on 139 or 145 My OS is Solaris 10 # uname -a SunOS labo2 5.10 Generic_142900-13 sun4v sparc SUNW,SPARC-Enterprise-T5120 #
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
...ginal_effective_uid = geteuid(); + #if !defined(__QNX__) || defined(__QNXNTO__) /* If we are installed setuid root be careful to not drop core. */ if (original_real_uid != original_effective_uid) { struct rlimit rlim; *************** *** 222,227 **** --- 223,229 ---- if (setrlimit(RLIMIT_CORE, &rlim) < 0) fatal("setrlimit failed: %.100s", strerror(errno)); } + #endif /* !__QNX__ || __QNXNTO__ */ /* * Use uid-swapping to give up root privileges for the duration of * option processing. We will re-instantiate the rights when we are diff -cr openssh-2....
2000 Jun 13
2
2.2.1p1 / AIX 4.2.1.0.06 login nits
Hi. New (2.1.1p1) login code is nicer on AIX (4.2.1.0.06). Thanks. A couple of issues, though, which I haven't really dug into yet. I'm wondering if anyone else has seen them? If not, I'll investigate & report. 1. If I set "UseLogin" to "yes", everything seems fine except that the authentication agent forwarding doesn't work. The "SSH"
2023 Mar 17
1
[libnbd PATCH v4 3/3] lib/utils: add unit test for async-signal-safe assert()
...ons, all optional. > >> dnl > >> dnl posix_fadvise helps to optimise linear reads and writes. > >> dnl > >> +dnl When /proc/sys/kernel/core_pattern starts with a pipe (|) symbol, Linux > >> +dnl ignores "ulimit -c" and (equivalent) setrlimit(RLIMIT_CORE) actions, for > >> +dnl disabling core dumping. Only prctl() can be used then, for that purpose. > >> +dnl > >> dnl strerrordesc_np (glibc only) is preferred over sys_errlist: > >> dnl https://lists.fedoraproject.org/archives/list/glibc at lists.fedoraproject....
2014 Jan 10
11
[Bug 73473] New: Potential crash bug in src/gallium/auxiliary/rtasm/rtasm_execmem.c
https://bugs.freedesktop.org/show_bug.cgi?id=73473 Priority: medium Bug ID: 73473 Assignee: nouveau at lists.freedesktop.org Summary: Potential crash bug in src/gallium/auxiliary/rtasm/rtasm_execmem.c Severity: critical Classification: Unclassified OS: Linux (All) Reporter: jaak at ristioja.ee
2008 Aug 24
2
Unusual bug in glusterfsd
...RT_1], NULL, 8) = 0 > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > uname({sys="Linux", node="portege", ...}) = 0 > brk(0) = 0x8b2d000 > brk(0x8b4e000) = 0x8b4e000 > setrlimit(RLIMIT_CORE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0 > open("/tmp/glusterfs-log.txt", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f54...