|
f41fdcf1
|
2013-10-21T05:07:56
|
|
Add funopen() function
This is a wrapper over the glibc fopencookie() function.
We diverge from the FreeBSD, OpenBSD and DragonFlyBSD declarations,
because seekfn() there wrongly uses fpos_t, assuming it's an integral
type, and any code using that on a system where fpos_t is a struct
(such as GNU-based systems or NetBSD) will fail to build. In which case,
as the code has to be modified anyway, we might just as well use the
correct declaration.
|
|
c5b95902
|
2013-07-11T12:25:54
|
|
Move setproctitle() automatic initialization to its own library
The automatic initialization cannot be part of the main shared library,
because there is no thread-safe way to change the environ global
variable. This is not a problem if the initializaion happens just at
program load time, but becomes one if the shared library is directly or
indirectly dlopen()ed during the execution of the program, which could
have either kept references to the old environ or could change it in
some other thread. This has been observed for example on systems using
Samba NSS modules.
To avoid any other possible fallout, the constructor is split into a
new static library that needs to be linked explicitly into programs
using setproctitle(). As an additional safety measure the pkg-config
linker flags will mark the program as not allowing to be dlopen()ed
so that we avoid the problem described above.
Reported-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=66679
|
|
30349f89
|
2013-05-25T15:35:39
|
|
Update radixsort module from NetBSD
Merge some interesting changes.
|
|
96a2dae3
|
2013-05-25T15:31:45
|
|
Update setmode module from NetBSD
Merge some interesting changes.
|
|
a97ce513
|
2012-11-23T21:19:45
|
|
Add new fgetwln() function
Man page taken from FreeBSD.
|
|
ee0489eb
|
2012-08-07T08:44:30
|
|
Add new fparseln() function
Taken from NetBSD.
[guillem@hadrons.org:
- Import from NetBSD instead of FreeBSD to get a 3-clause BSD license,
instead of a 4-clause one.
- Define compatibility macros.
- Change library from libc to libbsd and header in man page.
- Add copyright information to COPYING.
- Add symbol to map file. ]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
|
|
1be0bdb2
|
2012-11-25T21:13:38
|
|
Add new strnstr() function
Taken from FreeBSD.
|
|
ff0d700d
|
2012-11-23T17:16:43
|
|
Add new wcslcat() and wcslcpy() functions
Taken from FreeBSD.
|
|
444bd1fb
|
2012-06-21T10:16:14
|
|
man: Use minus signs and hyphens consistently
Any string that can be copy & pasted into a terminal, for example,
needs to correctly use minus signs (escaped dashes), instead of the
default hyphen.
|
|
1d69ae1c
|
2012-06-04T05:47:26
|
|
man: Recode flopen(3) to UTF-8
Spotted-by: Eric Smith <eric@brouhaha.com>
|
|
1b5b1cd5
|
2012-04-24T04:20:58
|
|
Move mdX.3 man page to section 3bsd
This makes sure there will be no collisions on systems where a mdX.3
provided by a third party is already present.
|
|
ddefaae3
|
2012-04-24T04:05:48
|
|
Do not quote man page titles
|
|
7cfa7e43
|
2012-01-12T19:13:16
|
|
Add new man page for tree(3)
Taken from FreeBSD.
|
|
7620fef7
|
2012-01-12T20:56:24
|
|
Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
|
|
08139dd5
|
2012-01-12T19:13:16
|
|
Add new man pages for bitstring(3) and queue(3)
Taken from FreeBSD.
|
|
d90ce079
|
2011-05-14T14:18:57
|
|
Add new man pages for getprogname(3) and setprogname(3)
Taken from FreeBSD.
|
|
c1d086c2
|
2011-05-14T14:18:57
|
|
Add new man page for setproctitle(3)
Taken from FreeBSD.
|
|
64348583
|
2011-12-31T04:30:48
|
|
Add new expand_number() function
Taken from FreeBSD.
[guillem@hadrons.org:
- Include <stdint.h> in <bsd/libutil.h>. ]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
|
|
943939d0
|
2011-12-31T08:39:44
|
|
Add new closefrom() function
Code taken from sudo, man page from FreeBSD.
|
|
dcaa93d9
|
2010-12-17T11:13:04
|
|
build: Switch to autotools
|
|
540ab03b
|
2011-12-31T06:50:40
|
|
Move man pages to man/
|
|
57cc5326
|
2010-01-09T20:17:16
|
|
Move man pages to the same directory as the source code
This matches BSD style source tree, and makes it easier to see what's
missing.
|
|
254808d9
|
2009-12-11T23:26:44
|
|
Define NetBSD version 5.0 for .Nx to avoid groff warning
This is a temporary workaround, the proper fix is to get groff to know
newest BSD versions.
|
|
183cc3cb
|
2009-12-11T21:31:48
|
|
Correct library name in man pages
|
|
c17c7e13
|
2009-12-10T18:07:25
|
|
Expand on API guarantee for fgetln
OpenBSD has begun using the API guarantee that *len is not 0 if
the fgetln(3) return value is not NULL; document this explicitly
in the manpage and add a comment to the function implementation
that this doesn’t need to be checked because getdelim/getline have
similar guarantees.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
c5398adf
|
2009-10-24T00:19:47
|
|
Add readpassphrase function
Taken from OpenBSD.
|
|
56ddcfe6
|
2009-10-11T21:07:53
|
|
Add strtonum function
Taken from FreeBSD.
|
|
c3feeb00
|
2009-05-22T20:44:35
|
|
Add some man page links
Add man page links for strlcat, getmode and arc4random_*.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
|
4c3e03ef
|
2009-05-25T06:22:22
|
|
Add man/md5.3bsd to .gitignore
|
|
dcaec44a
|
2009-05-20T04:11:57
|
|
Add nlist function
|
|
8dbfb352
|
2009-05-15T21:40:45
|
|
Add strmode function
|
|
38829bdc
|
2008-07-09T09:07:03
|
|
Add new setmode and getmode functions from FreeBSD
|
|
1512d0d4
|
2008-07-09T07:22:30
|
|
Renumber 4th clause from BSD license to 3rd
Those files have only three clauses.
|
|
b37f1039
|
2008-06-18T08:19:41
|
|
Replace current md5 code with one from MirBSD and OpenBSD
This adds the following public functions:
MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
|
|
acb577d6
|
2008-06-13T05:25:57
|
|
Sync humanize_number from NetBSD
Add the missing man page.
|
|
0be77c90
|
2008-06-13T05:23:39
|
|
Convert TNF licenses to new 2 clause variant
This follows NetBSD upstream:
<http://mail-index.netbsd.org/source-changes/2008/04/30/msg005553.html>
|
|
44706ade
|
2008-03-16T16:46:29
|
|
Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
|
|
dedb8169
|
2005-12-20T20:29:47
|
|
Added manpages and fixed fmtcheck
|