Log

util-src/pposix.c @ 12590:5eaf77114fdb

description author age
util-src: Remove Lua 5.1 compat macros Kim Alvefur Fri, 01 Jul 2022 21:21:21 +0200
util.pposix: Use mallinfo2() on glibc 2.33, fix #1649 Kim Alvefur Thu, 06 Jan 2022 18:56:06 +0100
util.pposix: Bind isatty(3) Kim Alvefur Sun, 04 Jul 2021 15:11:07 +0200
util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure conditions Kim Alvefur Sun, 07 Jun 2020 02:25:56 +0200
util.pposix,signal: Pass around various OS numbers as integers [Lua 5.3] Kim Alvefur Mon, 04 May 2020 21:51:30 +0200
util.*.c: Add static qualifiers everywhere Emmanuel Gil Peyrot Sun, 01 Dec 2019 20:25:20 +0100
Merge 0.11->trunk Kim Alvefur Sat, 16 Nov 2019 16:52:31 +0100
util.pposix: Avoid overflow of malloc info at 2GB (fixes #1445 until 4GB) 0.11 Kim Alvefur Sat, 16 Nov 2019 16:45:33 +0100
util.pposix: Don't define POSIX_C_SOURCE on FreeBSD to ensure visibility of initgroups() Matthew Wild Tue, 04 Dec 2018 12:11:58 +0000
util.pposix: Allow _DARWIN_C_SOURCE to be overriden Kim Alvefur Sat, 08 Sep 2018 11:52:44 +0200
Merge 0.10->trunk Kim Alvefur Sat, 08 Sep 2018 11:51:52 +0200
util.pposix: Fix or silence a warning on OS X (#1202) Kim Alvefur Sat, 08 Sep 2018 11:46:02 +0200
Merge 0.10->trunk Kim Alvefur Sat, 08 Sep 2018 11:42:22 +0200
util.pposix: Fix building on OS X (#1202) Kim Alvefur Sat, 18 Aug 2018 12:07:40 +0200
util.pposix: Restrict use of malloc_info to glibc Kim Alvefur Fri, 07 Sep 2018 15:50:12 +0200
util.pposix: Do not attempt to assign to stdio variables [pedantic] Kim Alvefur Fri, 07 Sep 2018 15:25:33 +0200
pposix: Generate an error when a passed string isn’t "unlimited". Emmanuel Gil Peyrot Wed, 08 Aug 2018 09:28:42 +0200
pposix, signal: Ignore unused arguments. Emmanuel Gil Peyrot Wed, 08 Aug 2018 09:28:04 +0200
net, pposix, signal: Check for redefined defines, fix warnings. Emmanuel Gil Peyrot Wed, 08 Aug 2018 09:27:34 +0200
util.pposix: Use freopen(3) when replacing standard IO streams (thanks ratchetfreak) Kim Alvefur Thu, 12 Jul 2018 20:42:22 +0200
util.pposix: Remove fallocate Kim Alvefur Tue, 28 Feb 2017 13:26:05 +0100
util.pposix: Add function for atomically appending data to a file Kim Alvefur Wed, 01 Mar 2017 01:33:00 +0100
util-src: Specify size of various tables to be allocated Kim Alvefur Thu, 09 Mar 2017 01:20:59 +0100
util.pposix: Use correct type for limits [-Wconstant-conversion] Kim Alvefur Tue, 07 Mar 2017 22:36:43 +0100
util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms Kim Alvefur Tue, 07 Mar 2017 22:33:57 +0100
util.pposix, configure: Move _GNU_SOURCE macro into source files Kim Alvefur Wed, 01 Mar 2017 22:27:11 +0100
util.pposix: Expose ENOENT constant (usually 2, but you never know) Kim Alvefur Wed, 01 Mar 2017 17:03:48 +0100
util.pposix: Fix typo in comment Kim Alvefur Sun, 26 Feb 2017 20:31:08 +0100
util-src/*.c: Attach pointer * to name instead of type Kim Alvefur Sun, 12 Feb 2017 16:42:29 +0100
util-src/*.c: Squeeze repeated blank lines Kim Alvefur Mon, 23 Jan 2017 18:33:35 +0100
util-src: Make C modules assert that the Lua runtime matches what it was compiled for Kim Alvefur Sun, 08 Jan 2017 14:21:08 +0100
util.pposix: rfork() seems to be FreeBSD only (fixes #412) Kim Alvefur Mon, 19 Dec 2016 08:51:50 +0100
util.pposix: Ask for shared file descriptor table using rfork() on *BSD (fixes #412) Kim Alvefur Wed, 25 May 2016 21:34:34 +0200
util.pposix: Expose the uname GNU extension field 'domainname' Kim Alvefur Wed, 25 Nov 2015 20:43:29 +0100
util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to support 5.1 Kim Alvefur Sun, 26 Apr 2015 12:38:37 +0200
util.pposix: Return error from ftruncate if that fails too (but what would we do here?) Kim Alvefur Sat, 02 May 2015 14:41:56 +0200
util-src/*.c: Per convention call luaL_error() as argument to return Florian Zeitz Fri, 03 Apr 2015 20:30:14 +0200
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 Fri, 03 Apr 2015 19:52:48 +0200
util-src/*.c: Add macro for compiling with Lua 5.2 Kim Alvefur Wed, 17 Sep 2014 14:30:29 +0200
util-src/*.c: Don't create globals when loaded Kim Alvefur Tue, 16 Sep 2014 21:56:18 +0200
Merge 0.9->0.10 Kim Alvefur Sun, 27 Apr 2014 01:02:20 +0200
util.pposix: Fix error reporting from really old Linux fallocate() that did not use errno for some reason (thanks pro) Kim Alvefur Fri, 25 Apr 2014 02:41:55 +0200
util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno (thanks pro) Kim Alvefur Fri, 25 Apr 2014 00:36:01 +0200
Merge 0.9->0.10 Kim Alvefur Thu, 28 Nov 2013 16:17:21 +0100
util.pposix: Verify that file handle is open Kim Alvefur Thu, 28 Nov 2013 16:12:40 +0100
Merge 0.9->trunk Matthew Wild Tue, 03 Sep 2013 00:20:28 +0100
util.pposix: Fix building on non-Linux with glibc Kim Alvefur Mon, 02 Sep 2013 18:19:38 +0200
util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be quiet please) Kim Alvefur Sat, 10 Aug 2013 19:02:52 +0200
Merge Matthew Wild Sat, 29 Jun 2013 14:45:47 +0100
util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by returning and accepting the string 'unlimited' in get/setrlimit() Matthew Wild Sat, 29 Jun 2013 14:45:38 +0100
util.pposix: setrlimit(): Add missing return on error when an incorrect number of arguments are passed Matthew Wild Fri, 28 Jun 2013 20:16:43 +0100
mod_posix, util.pposix: Bump version for API change Matthew Wild Mon, 08 Apr 2013 16:57:59 +0100
util.pposix: syslog(): Support an optional source parameter (producing messages of the form '<source>: <message>' Matthew Wild Mon, 08 Apr 2013 16:56:40 +0100
util.pposix: Allow fetching RLIMIT_NICE when available Matthew Wild Fri, 22 Mar 2013 11:23:40 +0000
util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connections Kim Alvefur Sat, 10 Nov 2012 23:41:53 +0100
util.pposix: Put the warning back, mention how we might still use posix_fallocate() Kim Alvefur Tue, 31 Jul 2012 23:43:34 +0200
util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file system Kim Alvefur Tue, 31 Jul 2012 23:38:02 +0200
util.pposix: Warn about posix_fallocate Kim Alvefur Sun, 29 Jul 2012 22:21:58 +0200
util.pposix: Add fallocate method, backed by either posix_fallocate() or Linux fallocate() Kim Alvefur Sat, 28 Jul 2012 22:21:10 +0200
util.pposix: Add comments to mallinfo fields we use, so I don't forget tomorrow what they mean Matthew Wild Sun, 08 Jul 2012 18:54:30 +0100