Displaying 20 results from an estimated 10000 matches similar to: "Re: compiling"
2002 Dec 27
1
RLIMIT_AS patch for FreeBSD
Hey,
I've just updated the FreeBSD dovecot port to the 0.99.4 beta release,
the following patch was needed as FreeBSD has setrlimit(2) but does not
define RLIMIT_AS (I believe). I switched the code the require both,
alternatively find a parallel option in the FreeBSD setrlimit(2) manual
page. ( http://www.freebsd.org/cgi/man.cgi?setrlimit )
You may be interested in integrating this patch.
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
Hi!
I wrote a small patch to enable /etc/limits support in openssh. nice
thing when you don't have PAM installed..
It is based on Ultor's openssh 1.x patch
(http://marc.theaimsgroup.com/?l=secure-shell&m=96427677022741&w=2)
Works fine on slackware7.1. define USE_ETC_LIMITS in config.h , and
compile as usual.
Sagi
-------------- next part --------------
diff -N -u
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Okay I have put a #ifdef HAVE_RLIMIT_RSS round the RSS code.
There needs to be logic added to config system to complement this.
Or shall I just use an #ifdef _CYGWIN_ ?
Regarding the Bytecode writer stuff. I will try adding some inline
dis-ambiguator functions.
Aaron
----- Original Message -----
From: "Reid Spencer" <rspencer at reidspencer.com>
To: "LLVM Developers
2007 Feb 18
2
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hi Aaron,
On Sun, 2007-02-18 at 20:43 +0000, Aaron Gray wrote:
> Hi Reid,
>
> Cygwin 'sys/resource.h' has get/setrlimit() functions support for
> RLIMIT_DATA and RLIMIT_AS but not RLIMIT_RSS.
Then, please fix it to not use RLIMIT_RSS in the cygwin case. Perhaps
you should just use RLIMIT_AS for cygwin. It will trigger sooner than
RLIMIT_RSS but that's probably okay.
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
Hi Reid,
Cygwin 'sys/resource.h' has get/setrlimit() functions support for
RLIMIT_DATA and RLIMIT_AS but not RLIMIT_RSS.
Aaron
----- Original Message -----
From: "Reid Spencer" <rspencer at reidspencer.com>
To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Sent: Sunday, February 18, 2007 8:32 PM
Subject: Re: [LLVMdev] LLVM Cygwin build
2007 Feb 18
2
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
On Sun, 2007-02-18 at 21:42 +0000, Aaron Gray wrote:
> Okay I have put a #ifdef HAVE_RLIMIT_RSS round the RSS code.
>
> There needs to be logic added to config system to complement this.
>
> Or shall I just use an #ifdef _CYGWIN_ ?
Please just use #ifdef _CYGWIN_
>
> Regarding the Bytecode writer stuff. I will try adding some inline
> dis-ambiguator functions.
Yeah,
2002 Jun 26
0
[Bug 301] New: In openssh 3.3 and 3.4 pam session seems be called from non-root
http://bugzilla.mindrot.org/show_bug.cgi?id=301
Summary: In openssh 3.3 and 3.4 pam session seems be called from
non-root
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P3
Component: sshd
AssignedTo:
2002 Dec 02
0
Re: sick of me yet?
On Mon, 2002-12-02 at 01:37, Kyle Symonds wrote:
> x login weasel at squeakyweasel.net ********
> x NO Authentication failed: Authentication process died
Well, you should definitely see something about this in log files. Like:
imap-auth: Dec 01 17:59:32 Warning: Killed with signal 11
And if it was killed with signal 11 or 6 you should also find core file
in the directory where you started
2003 Jul 16
2
Dovecot on Linux 2.6.0-test1-ac1
Hi all
For various reasons I was looking into 2.6, so I installed a copy on my
desktop. Everything works fine, except for dovecot - errors such as this
appeared in the syslog:
Jul 15 14:41:09 typhaon dovecot: Dovecot starting up
Jul 15 14:41:12 typhaon imap-login: setuid(113) failed: Resource
temporarily unavailable
Jul 15 14:41:12 typhaon dovecot: Login process died too early - shutting
down
I
2023 Feb 20
1
service(imap-login): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument macOS
I fixed the issue with Dovecot not starting on macOS Ventura by adding this to 10-master.conf:
service log {
vsz_limit = 0
}
But now when I try to login via Imap on port 143 I get the same error for imap-login:
Feb 20 15:55:41 imap-login: Error: Feb 20 15:55:41 service(imap-login): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument
Feb 20 15:55:41 imap-login: Fatal: master:
2023 Feb 17
0
SOLVED: Re: Dovecot does not start on MacOS 12.01, and now 13.2.1 - RLIMIT_DATA
Sorry, replying to an old thread found on mail-archive.com <http://mail-archive.com/>, so it?s not threaded email.
https://www.mail-archive.com/dovecot at dovecot.org/msg84776.html?
I have just installed Dovecot onto Mac Studio running Ventura (macOS 13.2.1) and get the same error with Dovecot 2.3.20:
service(log): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument
Adding the
1998 Nov 21
2
simple perl script bypasses limits
Any user with shell access, or with access to upload a cgi
script can exploit this to make machine thrash badly.
Seems to circumvent any limits in the kernel
Here are my settings
dlai@whale.home.org:/home/dlai?limit
cputime unlimited
filesize 20000 kbytes
datasize 8192 kbytes
stacksize 8192 kbytes
coredumpsize 1000000 kbytes
memoryuse 8192 kbytes
descriptors
2015 Oct 14
2
[PATCH 1/2] lib: info: Move common code for setting child rlimits.
This is almost just refactoring, but I also set the memory
limit to really 1 GB, and not 1×10⁹.
---
src/info.c | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/src/info.c b/src/info.c
index d7f45f0..616ef50 100644
--- a/src/info.c
+++ b/src/info.c
@@ -56,6 +56,7 @@ static yajl_val get_json_output (guestfs_h *g, const char *filename);
static char
2007 Jun 04
1
[LLVMdev] Patch to build on NetBSD
This trivial patch enables LLVM to build on NetBSD.
Neil.
Index: Program.inc
===================================================================
RCS file: /var/cvs/llvm/llvm/lib/System/Unix/Program.inc,v
retrieving revision 1.24
diff -u -p -r1.24 Program.inc
--- Program.inc 23 Apr 2007 07:22:51 -0000 1.24
+++ Program.inc 4 Jun 2007 13:05:22 -0000
@@ -125,11 +125,13 @@ static void SetMemoryLimits
2004 Dec 17
1
Cygwin and index code
As I can currently only work with windows (eek) I thought I'd try
dovecot there. I already sent a patch to make dovecot compile under
cygwin, but it still doesn't really work, here's part of a session that
I started while my maildir was totally empty (only cur/new/tmp in ~/Maildir)
$ ./imap.exe
* PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND
UNSELECT LITERAL+
2008 Jan 17
1
convert plugin fails - drops root privileges then tries to create file in /
Hi
I just tried to run the convert plugin as described at
http://wiki.dovecot.org/Plugins/Convert
(except with mail_location = maildir:~/Mail)
It fails with an error message:
Eopen(/.temp.falcon.endbracket.net.18618.8d5e0a038da6cf06) failed:
Permission denied
Error: imap dump-capability process returned 89
It looks like Dovecot execs /usr/libexec/dovecot/imap, which drops root
privileges
2008 Jan 15
2
Out of memory [repost as a new thread]
Hi,
this happens since a few days on a Gentoo hardened system using a
grsecurity enabled kernel running Dovecot 1.0.10, only to 2 of 10
users though:
--8<--
kernel: grsec: From 192.168.0.1: denied resource overstep by \
requesting 537325568 for RLIMIT_AS against limit 536870912 \
for /usr/libexec/dovecot/imap[imap:15708] uid/euid:30010/30010 \
gid/egid:30006/30006, parent
2015 May 26
0
[PATCH] lib: Limit space and time used by 'qemu-img info' subprocess.
After fuzzing 'qemu-img info' I found that certain files can cause the
command to use lots of memory and time. Modify the command
mini-library to allow us to place resource limits on subprocesses, and
use these to limit the amount of space and time used by 'qemu-img info'.
---
configure.ac | 3 +++
src/command.c | 53
2015 Oct 14
0
[PATCH 2/2] lib: Add comment and regression test for case where main process has large heap.
Thanks: Dan Berrangé for identifying the problem.
---
.gitignore | 1 +
src/command.c | 11 +++++++
tests/regressions/Makefile.am | 13 +++++++-
tests/regressions/test-big-heap.c | 69 +++++++++++++++++++++++++++++++++++++++
4 files changed, 93 insertions(+), 1 deletion(-)
create mode 100644 tests/regressions/test-big-heap.c
diff --git
2016 May 09
2
R process killed when allocating too large matrix (Mac OS X)
On 05/05/2016 10:11, Uwe Ligges wrote:
> Actually this also happens under Linux and I had my R processes killed
> more than once (and much worse also other processes so that we had to
> reboot a server, essentially).
I found that setting RLIMIT_AS [1] works very well on Linux. But this
requires that you cap memory to some fixed value.
> library(RAppArmor)
> rlimit_as(1e9)
>