summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Get pam_mod_misc.h from .CURDIR rather than .OBJDIR or /usr/include.des2001-12-071-1/+2
| | | | Sponsored by: DARPA, NAI Labs
* Make strerror and strerror_r use sys_errlist[0] for errnum = 0. Bewes2001-12-072-6/+32
| | | | | | | | | | | more careful about reporting truncation with ERANGE in strerror_r. Set errno to EINVAL for "unknown" errnum in strerror as required by P1003.1-200x Draft June 14, 2001. More carefully document the handling of strerrbuf when errors (ERANGE, EINVAL) are encountered in strerror_r. Reviewed by: bde (ongoing discussion)
* Remove blank line.fenner2001-12-071-1/+0
|
* Now that _pam_init_handlers() works as intended, it seems clear that wedes2001-12-071-1/+1
| | | | | | | do not actually want to define PAM_READ_BOTH_CONFS, so back out previous commit. Sponsored by: DARPA, NAI Labs
* We need pam_client.h from libpamc. This unbreaks worlddes2001-12-061-0/+6
| | | | | Pointed out by: jhay Pointy hat to: des
* New, improved, more Posix-compliant strerror_r implementation,wes2001-12-062-72/+78
| | | | | | | complete with documentation. Reviewed by: mike@ gad@ MFC after: 1 week
* Define PAM_READ_BOTH_CONFS. We can now have both /etc/pam.d anddes2001-12-051-1/+1
| | | | | | /etc/pam.conf. Sponsored by: DARPA, NAI Labs
* Clarify ' ' space issueache2001-12-052-2/+3
|
* Install the correct version of pam_misc.h.des2001-12-051-1/+1
| | | | Sponsored by: DARPA, NAI Labs
* Add dummy functions for all module types. These dummies return PAM_IGNOREdes2001-12-059-6/+542
| | | | | | | rather than PAM_SUCCESS, so you'll get a failure if you list dummies but no real modules for a particular module chain. Sponsored by: DARPA, NAI Labs
* Connect the man page to the build.des2001-12-051-0/+1
| | | | Sponsored by: DARPA, NAI Labs
* Add a pam_self authentication module that succeeds if and only if the localdes2001-12-054-0/+257
| | | | | | and remote user names are the same. Sponsored by: DARPA, NAI Labs
* mdoc(7) police: markup the previous delta.ru2001-12-041-1/+3
|
* Correct some egregious style bugs.des2001-12-041-13/+21
|
* Add a missing error check. This fixes a bug that would cause pwd_mkdb todes2001-12-041-1/+2
| | | | | | | | | dump core if invoked with an input file that looks like a password file but isn't (e.g. /etc/group). PR: 32378 Submitted by: Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week
* Properly handle being redirected to an FTP URL.des2001-12-041-1/+10
| | | | | | | | | Also fix a couple of not-so-minor bugs: - missing case for HTTP_SEE_OTHER - incorrect definition of HTTP_NEED_PROXY_AUTH PR: 20259 MFC after: 2 weeks
* Add prototype for _ftp_request().des2001-12-041-4/+8
|
* Reorganize to reduce code duplication.des2001-12-041-64/+32
|
* Fix typos getpeerid -> getpeereid.tobez2001-12-021-2/+2
| | | | | PR: docs/32442 Reviewed by: dd
* Use __FBSDID(). Also do a bit of cosmetic #if and header-ordermarkm2001-12-021-1/+4
| | | | cleaning-up.
* Use the merged strtod.c everywhere. This has been tested on alpha andpeter2001-12-021-10/+1
| | | | ia64.
* Remove specific reference to ASCII space (' '), it is true for localizedache2001-12-021-1/+1
| | | | spaces too
* Make it works for non ASCII compatible encodings too.ache2001-12-026-42/+42
| | | | The only assumption left is that 'A'..'Z' 'a'..'z' both are contiguous
* Style fixups.markm2001-12-011-10/+10
| | | | | | | Sort function declarations, includes. Make consistent WRT use of _P() macro (ugh!) Inspired by: bde
* WARNS=2 fixes.markm2001-12-011-16/+11
| | | | Reviewed by: bde (a while back)
* Add support for sysconf(_SC_NPROCESSORS_CONF) and sysconf(_SC_NPROCESSORS_ONLN).jkoshy2001-12-012-0/+12
| | | | | | | | This API is supported in SVR4.0MP, Solaris, Linux, AIX and Tru64 Unix. PR: bin/27489 Submitted by: Arun Sharma <arun@sharma-home.net> Reviewed by: bde (prior version)
* o Stop abusing MD headers with non-MD types.mike2001-12-012-9/+14
| | | | | | | | | | | | | | | o Hide nonstandard functions and types in <netinet/in.h> when _POSIX_SOURCE is defined. o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>. o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new __FBSDID() macro. o Fix some miscellaneous issues in <arpa/inet.h>. o Correct final argument for the inet_ntop() function (POSIX.1-200x). o Get rid of the namespace pollution from <sys/types.h> in <arpa/inet.h>. Reviewed by: fenner Partially submitted by: bde
* Merge the (in)complete ANSIfication work from src/crypto/telnet.markm2001-11-301-8/+0
|
* Invoke the new 'unifdef:' target, and make this lib a complete subsetmarkm2001-11-304-58/+51
| | | | of the crypto (master) code.
* Diff-reduce WRT src/secure/*telnet*/Makefile.markm2001-11-301-5/+18
| | | | | Also, add an "unifdef:" target, so that the telnet sources can be remade from the crypto sources in src/crypto/telnet.
* Merge NetBSD's changes from netbsd_strtod.c in preparation ofphantom2001-11-301-47/+54
| | | | | | | | | removing it from our source tree in order to have one version of strtod() for all arches. netbsd_strtod.c still left in source tree until alpha folks make sure that our native strtod() works as well as NetBSD's one. Reviewed by: peter, bde (some time ago)
* Back out my 'fix', resid is different for strategy than for writealfred2001-11-301-2/+2
|
* Implement several of the c99 updates to printf(3):fenner2001-11-302-211/+458
| | | | | | | | | | | | | | | | - New length modifiers: hh, j, t, z. - New flag: '. Note that %'f is not yet implemented. - Use "inf"/"nan" for efg formats, "INF"/"NAN" for EFG formats. - Implemented %q in terms of %ll; if "quad_t" is not "long long" %q will break. Still to do: - %C, %S, %lc, %ls (wide character support) - %'f (thousands in integer portion of %f) - %a/%A (exact hex representation of floating-point numbers) Garrett Wollman wrote the first version of the vfprintf.c update; Mike Barcroft wrote the first version of the printf.3 changes.
* Make the same fix for writes to RAW objects.alfred2001-11-301-2/+2
|
* write should return the number of bytes written, not 0 on success.alfred2001-11-301-1/+1
| | | | | Submitted by: Jonathan Mini <mini@haikugeek.com> PR: kern/32350
* Clarify isblank rangeache2001-11-301-0/+14
|
* Clarify valid isspace() rangeache2001-11-301-8/+10
|
* Fix pam_ssh by adding an IPv4or6 (evidently, this was broken by my lastgreen2001-11-291-0/+8
| | | | | OpenSSH import) declaration and strdup(3)ing a value which is later free(3)d, rather than letting the system try to free it invalidly.
* Clarify that is[x]digit() class is the same in any localeache2001-11-292-17/+18
|
* Duh. Back out most of my previous commit. It was mostly covered in thecjc2001-11-291-9/+1
| | | | | | | | | STANDARDS section of the page. Add one remark there about inet_pton(3) only understanding decimal values (in contrast to inet_aton(3) and friends who are happy with 0ac.020.25 for 172.16.0.25). Caught by: ru MFC after: 2 days
* Bump p1003.1-90 to p1003.1-96.green2001-11-291-1/+1
|
* rename() can't guarantee "to" always exists if it didn't exist in the firstgshapiro2001-11-291-1/+3
| | | | | | | | place -- for example, rename("existing", "newfile"); on a read-only file system. Reviewed by: green MFC after: 3 days
* Back out national digits support, POSIX explicetely disallows it:ache2001-11-298-83/+85
| | | | | | | | | | | The definition of character class digit requires that only ten characters -the ones defining digits- can be specified; alternate digits (for example, Hindi or Kanji) cannot be specified here. However, the encoding may vary if an implementation supports more than one encoding. The definition of character class xdigit requires that the characters included in character class digit are included here also and allows for different symbols for the hexadecimal digits 10 through 15.
* After the long explanaition of how the inet_* functions interpretcjc2001-11-291-0/+8
| | | | | | | Internet addresses, point out that inet_pton(3) only understands dotted quads with decimal values. MFC after: 2 days
* Do not write warning messages on stderr - a caller is expected to checktobez2001-11-282-10/+8
| | | | | | | | | | | | | the return code and errno instead. Those warnings did not do any good for daemonized users of initgroups(3), and confused cvs clients that communicated with non-root cvs pserver. The committed fix differs from the one suggested in the PR, and was submitted by ru. PR: 15421 Approved by: markm Discussed on: -stable, -current at various times
* Mdoc police.des2001-11-281-32/+37
| | | | Submitted by: ru
* mdoc(7) police: fix one pam_unix(8) left-over, sort xrefs.ru2001-11-281-4/+4
|
* Don't ever assume that isdigit() is always subset of isxdigit()ache2001-11-287-7/+7
|
* Fix typoache2001-11-281-1/+1
|
* Use stricter tests to disallow national digits > 9ache2001-11-281-14/+14
| | | | Optimize national digits code a bit
OpenPOWER on IntegriCloud