Log

util-src/pposix.c @ 10703:6b63ba5b078a 0.11

description author age
util.pposix: Avoid overflow of malloc info at 2GB (fixes #1445 until 4GB) 0.11 Kim Alvefur 2019-11-16
util.pposix: Don't define POSIX_C_SOURCE on FreeBSD to ensure visibility of initgroups() Matthew Wild 2018-12-04
util.pposix: Allow _DARWIN_C_SOURCE to be overriden Kim Alvefur 2018-09-08
Merge 0.10->trunk Kim Alvefur 2018-09-08
util.pposix: Fix or silence a warning on OS X (#1202) Kim Alvefur 2018-09-08
Merge 0.10->trunk Kim Alvefur 2018-09-08
util.pposix: Fix building on OS X (#1202) Kim Alvefur 2018-08-18
util.pposix: Restrict use of malloc_info to glibc Kim Alvefur 2018-09-07
util.pposix: Do not attempt to assign to stdio variables [pedantic] Kim Alvefur 2018-09-07
pposix: Generate an error when a passed string isn’t "unlimited". Emmanuel Gil Peyrot 2018-08-08
pposix, signal: Ignore unused arguments. Emmanuel Gil Peyrot 2018-08-08
net, pposix, signal: Check for redefined defines, fix warnings. Emmanuel Gil Peyrot 2018-08-08
util.pposix: Use freopen(3) when replacing standard IO streams (thanks ratchetfreak) Kim Alvefur 2018-07-12
util.pposix: Remove fallocate Kim Alvefur 2017-02-28
util.pposix: Add function for atomically appending data to a file Kim Alvefur 2017-03-01
util-src: Specify size of various tables to be allocated Kim Alvefur 2017-03-09
util.pposix: Use correct type for limits [-Wconstant-conversion] Kim Alvefur 2017-03-07
util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms Kim Alvefur 2017-03-07
util.pposix, configure: Move _GNU_SOURCE macro into source files Kim Alvefur 2017-03-01
util.pposix: Expose ENOENT constant (usually 2, but you never know) Kim Alvefur 2017-03-01
util.pposix: Fix typo in comment Kim Alvefur 2017-02-26
util-src/*.c: Attach pointer * to name instead of type Kim Alvefur 2017-02-12
util-src/*.c: Squeeze repeated blank lines Kim Alvefur 2017-01-23
util-src: Make C modules assert that the Lua runtime matches what it was compiled for Kim Alvefur 2017-01-08
util.pposix: rfork() seems to be FreeBSD only (fixes #412) Kim Alvefur 2016-12-19
util.pposix: Ask for shared file descriptor table using rfork() on *BSD (fixes #412) Kim Alvefur 2016-05-25
util.pposix: Expose the uname GNU extension field 'domainname' Kim Alvefur 2015-11-25
util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to support 5.1 Kim Alvefur 2015-04-26
util.pposix: Return error from ftruncate if that fails too (but what would we do here?) Kim Alvefur 2015-05-02
util-src/*.c: Per convention call luaL_error() as argument to return Florian Zeitz 2015-04-03
util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux Kim Alvefur 2015-04-03
util-src/*.c: Add macro for compiling with Lua 5.2 Kim Alvefur 2014-09-17
util-src/*.c: Don't create globals when loaded Kim Alvefur 2014-09-16
Merge 0.9->0.10 Kim Alvefur 2014-04-26
util.pposix: Fix error reporting from really old Linux fallocate() that did not use errno for some reason (thanks pro) Kim Alvefur 2014-04-25
util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno (thanks pro) Kim Alvefur 2014-04-24
Merge 0.9->0.10 Kim Alvefur 2013-11-28
util.pposix: Verify that file handle is open Kim Alvefur 2013-11-28
Merge 0.9->trunk Matthew Wild 2013-09-02
util.pposix: Fix building on non-Linux with glibc Kim Alvefur 2013-09-02
util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be quiet please) Kim Alvefur 2013-08-10
Merge Matthew Wild 2013-06-29
util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by returning and accepting the string 'unlimited' in get/setrlimit() Matthew Wild 2013-06-29
util.pposix: setrlimit(): Add missing return on error when an incorrect number of arguments are passed Matthew Wild 2013-06-28
mod_posix, util.pposix: Bump version for API change Matthew Wild 2013-04-08
util.pposix: syslog(): Support an optional source parameter (producing messages of the form '<source>: <message>' Matthew Wild 2013-04-08
util.pposix: Allow fetching RLIMIT_NICE when available Matthew Wild 2013-03-22
util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connections Kim Alvefur 2012-11-10
util.pposix: Put the warning back, mention how we might still use posix_fallocate() Kim Alvefur 2012-07-31
util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file system Kim Alvefur 2012-07-31
util.pposix: Warn about posix_fallocate Kim Alvefur 2012-07-29
util.pposix: Add fallocate method, backed by either posix_fallocate() or Linux fallocate() Kim Alvefur 2012-07-28
util.pposix: Add comments to mallinfo fields we use, so I don't forget tomorrow what they mean Matthew Wild 2012-07-08
util.pposix: Add meminfo() binding to memory allocation stats provided by mallinfo() [compilation tested on Ubuntu...] Matthew Wild 2012-07-08
util.pposix: Add setenv() Kim Alvefur 2012-07-03
util.pposix: Don't trust errno for success. Thanks Quince Kim Alvefur 2011-11-18
util.pposix: Remove extraneous semicolon Matthew Wild 2010-12-26
util.pposix: uname(): Fix to push nil,err in case of error Matthew Wild 2010-08-31
util.pposix: Add pposix.uname(), bump version Matthew Wild 2010-08-31
util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) Matthew Wild 2010-08-28