aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.9->0.10Kim Alvefur2014-04-271-3/+9
|\
| * util.pposix: Fix error reporting from really old Linux fallocate() that did ↵Kim Alvefur2014-04-251-1/+5
| | | | | | | | not use errno for some reason (thanks pro)
| * util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno ↵Kim Alvefur2014-04-251-2/+4
| | | | | | | | (thanks pro)
* | Merge 0.9->0.10Kim Alvefur2013-11-281-0/+2
|\|
| * util.pposix: Verify that file handle is openKim Alvefur2013-11-281-0/+2
| |
* | Merge 0.9->trunkMatthew Wild2013-09-031-2/+2
|\|
| * util.pposix: Fix building on non-Linux with glibcKim Alvefur2013-09-021-2/+2
| |
| * util.pposix: setrlimit(): Add missing return on error when an incorrect ↵Matthew Wild2013-06-281-0/+1
| | | | | | | | number of arguments are passed
* | util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be ↵Kim Alvefur2013-08-101-1/+1
| | | | | | | | quiet please)
* | util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by ↵Matthew Wild2013-06-291-32/+43
|/ | | | returning and accepting the string 'unlimited' in get/setrlimit()
* mod_posix, util.pposix: Bump version for API changeMatthew Wild2013-04-081-1/+1
|
* util.pposix: syslog(): Support an optional source parameter (producing ↵Matthew Wild2013-04-081-4/+5
| | | | messages of the form '<source>: <message>'
* util.pposix: Allow fetching RLIMIT_NICE when availableMatthew Wild2013-03-221-0/+3
|
* util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connectionsKim Alvefur2012-11-101-0/+4
|
* util.pposix: Put the warning back, mention how we might still use ↵Kim Alvefur2012-07-311-0/+4
| | | | posix_fallocate()
* util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file ↵Kim Alvefur2012-07-311-10/+21
| | | | system
* util.pposix: Warn about posix_fallocateKim Alvefur2012-07-291-0/+1
|
* util.pposix: Add fallocate method, backed by either posix_fallocate() or ↵Kim Alvefur2012-07-281-0/+43
| | | | Linux fallocate()
* util.pposix: Add comments to mallinfo fields we use, so I don't forget ↵Matthew Wild2012-07-081-0/+6
| | | | tomorrow what they mean
* util.pposix: Add meminfo() binding to memory allocation stats provided by ↵Matthew Wild2012-07-081-0/+28
| | | | mallinfo() [compilation tested on Ubuntu...]
* util.pposix: Add setenv()Kim Alvefur2012-07-031-0/+33
|
* util.pposix: Don't trust errno for success. Thanks QuinceKim Alvefur2011-11-181-14/+18
|
* util.pposix: Remove extraneous semicolonMatthew Wild2010-12-261-1/+1
|
* util.pposix: uname(): Fix to push nil,err in case of errorMatthew Wild2010-08-311-0/+1
|
* util.pposix: Add pposix.uname(), bump versionMatthew Wild2010-08-311-1/+26
|
* util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump ↵Matthew Wild2010-08-281-1/+58
| | | | module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb)
* Merge 0.6->0.7Matthew Wild2010-03-221-3/+3
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-3/+3
| |
| * util.pposix: Fix return type of lc_abort to shush compiler warningMatthew Wild2010-01-101-1/+2
| |
* | util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdirMatthew Wild2010-01-121-1/+1
| |
* | util.pposix: Add mkdir(path)Matthew Wild2010-01-101-0/+17
| |
* | util.pposix: Replace the unwieldy module table generation with ↵Matthew Wild2010-01-101-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 Wild2010-01-101-1/+17
| | | | | | | | mod_posix)
* | util.pposix: Fix return type of lc_abort to shush compiler warningMatthew Wild2010-01-101-1/+2
| |
* | util.posix: Trailing whitespaceMatthew Wild2010-01-101-25/+25
|/
* util.pposix: Add abort() functionMatthew Wild2009-10-301-0/+8
|
* util.pposix: Compatibility with Solaris systems (thanks Filip)Matthew Wild2009-09-291-2/+12
|
* pposix, mod_posix: Bump pposix version numberMatthew Wild2009-07-231-1/+1
|
* pposix: Add setgid() functionMatthew Wild2009-07-231-0/+63
|
* pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to ↵Matthew Wild2009-07-211-1/+1
| | | | intosi for reporting and an initial patch
* Close std{in,out,err} when daemonizingvault/0.4.20.4.2Matthew Wild2009-05-221-2/+2
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* pposix: Standardize error messagesMatthew Wild2009-03-031-7/+9
|
* pposix: Small fix for copyright noticeMatthew Wild2009-03-031-1/+1
|
* Make the code actually build.Tobias Markmann2009-02-221-13/+13
|
* Added missing code.Tobias Markmann2009-02-221-1/+28
|
* Adding setrlimits() binding.Tobias Markmann2009-02-221-0/+82
|
* util.pposix: Add getuid/setuid (we don't use them yet)Matthew Wild2009-02-151-1/+80
|
* util.pposix: Fix incompatible pointer type compiler warningsMatthew Wild2009-02-131-5/+6
|
* Licensing/version updates for some files (forgot to commit, doh...)Matthew Wild2009-02-021-18/+9
|