aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* pposix: Remove debug lineMatthew Wild2009-01-161-1/+0
|
* pposix: Add syslog_setmask (use config: minimum_log_level = 'warn' etc.)Matthew Wild2009-01-161-0/+17
|
* pposix: Add _NAME and _VERSIONMatthew Wild2009-01-161-0/+8
|
* mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log ↵Matthew Wild2009-01-151-8/+21
| | | | correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names.
* mod_posix: Support for logging to syslog (log = 'syslog' in config)Matthew Wild2009-01-151-0/+129
|
* Remove some debugging from pposix.cMatthew Wild2008-12-061-2/+0
|
* Add posix support library, and adjust makefiles for itMatthew Wild2008-12-061-0/+94