Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵ | Kim Alvefur | 2015-04-03 | 1 | -264/+291 |
| | | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux | ||||
* | util-src/*.c: Add macro for compiling with Lua 5.2 | Kim Alvefur | 2014-09-17 | 1 | -0/+4 |
| | |||||
* | util-src/*.c: Don't create globals when loaded | Kim Alvefur | 2014-09-16 | 1 | -1/+2 |
| | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2014-04-27 | 1 | -3/+9 |
|\ | |||||
| * | util.pposix: Fix error reporting from really old Linux fallocate() that did ↵ | Kim Alvefur | 2014-04-25 | 1 | -1/+5 |
| | | | | | | | | not use errno for some reason (thanks pro) | ||||
| * | util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno ↵ | Kim Alvefur | 2014-04-25 | 1 | -2/+4 |
| | | | | | | | | (thanks pro) | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2013-11-28 | 1 | -0/+2 |
|\| | |||||
| * | util.pposix: Verify that file handle is open | Kim Alvefur | 2013-11-28 | 1 | -0/+2 |
| | | |||||
* | | Merge 0.9->trunk | Matthew Wild | 2013-09-03 | 1 | -2/+2 |
|\| | |||||
| * | util.pposix: Fix building on non-Linux with glibc | Kim Alvefur | 2013-09-02 | 1 | -2/+2 |
| | | |||||
| * | util.pposix: setrlimit(): Add missing return on error when an incorrect ↵ | Matthew Wild | 2013-06-28 | 1 | -0/+1 |
| | | | | | | | | number of arguments are passed | ||||
* | | util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be ↵ | Kim Alvefur | 2013-08-10 | 1 | -1/+1 |
| | | | | | | | | quiet please) | ||||
* | | util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by ↵ | Matthew Wild | 2013-06-29 | 1 | -32/+43 |
|/ | | | | returning and accepting the string 'unlimited' in get/setrlimit() | ||||
* | mod_posix, util.pposix: Bump version for API change | Matthew Wild | 2013-04-08 | 1 | -1/+1 |
| | |||||
* | util.pposix: syslog(): Support an optional source parameter (producing ↵ | Matthew Wild | 2013-04-08 | 1 | -4/+5 |
| | | | | messages of the form '<source>: <message>' | ||||
* | util.pposix: Allow fetching RLIMIT_NICE when available | Matthew Wild | 2013-03-22 | 1 | -0/+3 |
| | |||||
* | util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connections | Kim Alvefur | 2012-11-10 | 1 | -0/+4 |
| | |||||
* | util.pposix: Put the warning back, mention how we might still use ↵ | Kim Alvefur | 2012-07-31 | 1 | -0/+4 |
| | | | | posix_fallocate() | ||||
* | util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file ↵ | Kim Alvefur | 2012-07-31 | 1 | -10/+21 |
| | | | | system | ||||
* | util.pposix: Warn about posix_fallocate | Kim Alvefur | 2012-07-29 | 1 | -0/+1 |
| | |||||
* | util.pposix: Add fallocate method, backed by either posix_fallocate() or ↵ | Kim Alvefur | 2012-07-28 | 1 | -0/+43 |
| | | | | Linux fallocate() | ||||
* | util.pposix: Add comments to mallinfo fields we use, so I don't forget ↵ | Matthew Wild | 2012-07-08 | 1 | -0/+6 |
| | | | | tomorrow what they mean | ||||
* | util.pposix: Add meminfo() binding to memory allocation stats provided by ↵ | Matthew Wild | 2012-07-08 | 1 | -0/+28 |
| | | | | mallinfo() [compilation tested on Ubuntu...] | ||||
* | util.pposix: Add setenv() | Kim Alvefur | 2012-07-03 | 1 | -0/+33 |
| | |||||
* | util.pposix: Don't trust errno for success. Thanks Quince | Kim Alvefur | 2011-11-18 | 1 | -14/+18 |
| | |||||
* | util.pposix: Remove extraneous semicolon | Matthew Wild | 2010-12-26 | 1 | -1/+1 |
| | |||||
* | util.pposix: uname(): Fix to push nil,err in case of error | Matthew Wild | 2010-08-31 | 1 | -0/+1 |
| | |||||
* | util.pposix: Add pposix.uname(), bump version | Matthew Wild | 2010-08-31 | 1 | -1/+26 |
| | |||||
* | util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump ↵ | Matthew Wild | 2010-08-28 | 1 | -1/+58 |
| | | | | module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) | ||||
* | Merge 0.6->0.7 | Matthew Wild | 2010-03-22 | 1 | -3/+3 |
|\ | |||||
| * | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -3/+3 |
| | | |||||
| * | util.pposix: Fix return type of lc_abort to shush compiler warning | Matthew Wild | 2010-01-10 | 1 | -1/+2 |
| | | |||||
* | | util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir | Matthew Wild | 2010-01-12 | 1 | -1/+1 |
| | | |||||
* | | util.pposix: Add mkdir(path) | Matthew Wild | 2010-01-10 | 1 | -0/+17 |
| | | |||||
* | | util.pposix: Replace the unwieldy module table generation with ↵ | Matthew Wild | 2010-01-10 | 1 | -33/+18 |
| | | | | | | | | luaL_register() call - side effect - it now sets the pposix global to the module table | ||||
* | | util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in ↵ | Matthew Wild | 2010-01-10 | 1 | -1/+17 |
| | | | | | | | | mod_posix) | ||||
* | | util.pposix: Fix return type of lc_abort to shush compiler warning | Matthew Wild | 2010-01-10 | 1 | -1/+2 |
| | | |||||
* | | util.posix: Trailing whitespace | Matthew Wild | 2010-01-10 | 1 | -25/+25 |
|/ | |||||
* | util.pposix: Add abort() function | Matthew Wild | 2009-10-30 | 1 | -0/+8 |
| | |||||
* | util.pposix: Compatibility with Solaris systems (thanks Filip) | Matthew Wild | 2009-09-29 | 1 | -2/+12 |
| | |||||
* | pposix, mod_posix: Bump pposix version number | Matthew Wild | 2009-07-23 | 1 | -1/+1 |
| | |||||
* | pposix: Add setgid() function | Matthew Wild | 2009-07-23 | 1 | -0/+63 |
| | |||||
* | pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to ↵ | Matthew Wild | 2009-07-21 | 1 | -1/+1 |
| | | | | intosi for reporting and an initial patch | ||||
* | Close std{in,out,err} when daemonizingvault/0.4.20.4.2 | Matthew Wild | 2009-05-22 | 1 | -2/+2 |
| | |||||
* | 0.3->0.4 | Matthew Wild | 2009-03-20 | 1 | -1/+1 |
| | |||||
* | pposix: Standardize error messages | Matthew Wild | 2009-03-03 | 1 | -7/+9 |
| | |||||
* | pposix: Small fix for copyright notice | Matthew Wild | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | Make the code actually build. | Tobias Markmann | 2009-02-22 | 1 | -13/+13 |
| | |||||
* | Added missing code. | Tobias Markmann | 2009-02-22 | 1 | -1/+28 |
| | |||||
* | Adding setrlimits() binding. | Tobias Markmann | 2009-02-22 | 1 | -0/+82 |
| |