wiz
be7db22fff
Bump date for previous.
2005-03-07 13:21:24 +00:00
tnozaki
45885f7f00
add new citrus iconv module UTF-7.
2005-03-06 04:25:04 +00:00
christos
bab13a9d96
Revert previous commit at 1.17. a maximum BSIZE of 65536 ends up stored
...
as a 0 in the page, but it is supported and it does work.
2005-03-06 03:42:14 +00:00
christos
811c70b5c5
Free the prompt response.
2005-03-05 20:33:40 +00:00
christos
a3df4155fc
PR/29566: Izumi Tsutsui: login(1) shows wrong last-login-from host
...
Caused by improper initialization of struct lastlogx. Code has been
completely restructured, and we also now use pam_prompt() instead of
printf().
cvs: ----------------------------------------------------------------------
2005-03-05 20:32:41 +00:00
kleink
1c7e2b47c4
Provide select() and pselect() prototypes in <sys/select.h>, per
...
1003.1-2001, and leave the select() prototype in <unistd.h> for
compatibility. To allow for transition, reorganization of this is
deferred until netbsd-3 gets branched.
2005-03-05 19:48:38 +00:00
tnozaki
fe05f588fb
add new citrus iconv module UTF-7.
...
thanks advice, yamt-san.
2005-03-05 18:05:14 +00:00
tnozaki
97264db5f1
correct uninitialized value `err'.
2005-03-05 17:31:03 +00:00
christos
fde63d0ea8
If authentication failed because the user was not in wheel, say so like
...
the old su did. From John Nemeth
2005-03-05 15:39:43 +00:00
dsl
8476342d19
Some more optimisations - I must stop looking at this file!
...
Update copyright to include 2005
(I have a compleetly different version, but it is only a few 100 bytes
smaller due to a 560 byte data area.)
2005-03-05 14:07:15 +00:00
dsl
3fa8666b4f
A going-over with the optimiser, save over 500 bytes.
...
I think this is enough to get rescue_tiny to fit again.
While there fix some bugs:
- %y failed to subtract 1900 from tm_year
- %p (am/pm) only worked at the end of the string
- %E% was treated at %% (ie match a % character)
regression test being added....
2005-03-04 21:41:42 +00:00
dsl
7f90294800
Re-implement in terms of fseek0()
2005-03-04 16:25:20 +00:00
dsl
28c48df97b
de __P
2005-03-04 16:04:58 +00:00
wiz
e2bc5f883e
Bump date for touchline() correction, and drop trailing whitespace.
2005-03-04 11:41:36 +00:00
blymn
fc90def939
Fixed incorrect documentation of the touchln() function. (thanks Wiz)
2005-03-04 11:15:47 +00:00
he
21b1464ae4
Build openpam_free_envlist as part of libpam, and install it's man
...
page. This is required for ports not yet supporting shared libraries.
2005-03-03 22:40:49 +00:00
kleink
25bfafbaf1
Normalize the declarations of the FD_* "functions".
2005-03-03 20:49:47 +00:00
christos
3d37b7e762
Document the no_nested option.
2005-03-03 02:11:49 +00:00
christos
fa02801fbd
- Fix the quiet option; use login_cap to determine if we should print or not.
...
- Add nested user handling, including a no_nested option to control it.
2005-03-03 02:11:40 +00:00
christos
0713fcd141
Make at least the ELF version work. crypt was broken because it was
...
compiled against the wrong headers. Now we just depend on libcrypt.
2005-03-02 01:04:21 +00:00
wiz
15a3d47d36
Improve wording of the BUGS section to make it easier to understand.
...
Ok'd by christos.
2005-02-28 15:21:25 +00:00
wiz
598792bd15
Bump date for pselect.
2005-02-28 10:42:19 +00:00
wiz
7564ea71d1
Bump date for pollts.
2005-02-28 10:42:10 +00:00
wiz
49d2a708c0
Bump date for previous. Remove trailing whitespace. Sort SEE ALSO.
...
Remove superfluous .Pp.
2005-02-28 10:34:17 +00:00
wiz
e368145667
Bump date for new SECURITY CONSIDERATIONS section.
2005-02-28 10:31:41 +00:00
lukem
a30452355d
Overhaul the use of nsdispatch(3) by public APIs so that the back-end
...
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for the
getusershell(3) (et al) functions.
Per my proposal on tech-userlevel in September 2004.
2005-02-28 02:56:28 +00:00
lukem
efd08c7b4f
Prevent NULL deref upon malloc failure.
2005-02-28 01:25:24 +00:00
christos
d747ae24a0
Document that this is broken and not used.
2005-02-28 01:25:01 +00:00
lukem
6596888aee
Restore getpwent() behaviour prior to rev 1.57; skip dodgy NIS & DNS entries
...
rather than failing with NS_UNAVAIL when encountering them.
Fixes PR 29272 by Antoine Reilles.
2005-02-28 00:40:05 +00:00
thorpej
a4e3f97482
Add a SECURITY CONSIDERATIONS section.
2005-02-27 21:33:02 +00:00
thorpej
80ea74d85d
Add a SECURITY CONSIDRATIONS section.
2005-02-27 21:32:46 +00:00
thorpej
11b55133f0
Add an S/Key PAM module.
2005-02-27 21:01:59 +00:00
nathanw
22f226cf84
Correct the order of arguments to __sigplusset() in two places to correct
...
the signal mask experienced by signal handlers in threaded programs.
Fixes regress/lib/libpthread/sigmask3.
2005-02-27 18:25:01 +00:00
christos
901ebd51aa
NetBSD does not allow setuid(user) when euid=user, and ruid=0. Change
...
the logic for setting the uid/gid/groups for the agent around and also
add error checking. I.e. Don't exec the agent, if we could not set
the proper environment for it. Add a few more debugging lines. Now ssh
authentication works through xdm.
2005-02-27 01:16:27 +00:00
christos
783ec0bc09
Remove local copy of openpam_free_envlist.
2005-02-26 22:45:52 +00:00
nathanw
916de87872
Keep the kernel updated with signal action signal masks (act.sa_mask) until
...
threads are started, since before that the traditional signal invocation
method will be used. Fixes regress/lib/libpthread/sigmask2.
2005-02-26 20:33:06 +00:00
thorpej
55d1dd0979
Place some limits on the creds acquired for password change. Other
...
minor cleanup inspired by passwd(1).
2005-02-26 18:25:28 +00:00
nathanw
1eaf7124f7
Fetch the old signal mask for the signal action whether or not we're
...
setting a new signal action; this makes sigaction(sig, NULL, &oact)
return a sensible value in the signal mask instead of stack trash.
Addresses PR lib/29536.
XXX the mask seen by signal handlers in a program linked with
libpthread but not yet multithreaded will not reflect masks set here.
2005-02-26 18:15:25 +00:00
thorpej
b41692728e
Use the more familar princ@realm style of password prompt.
2005-02-26 18:10:35 +00:00
matt
79c744210f
Build syscalls stubs for pselect and pollts. Update man pages.
2005-02-26 18:04:19 +00:00
thorpej
a2d3bf486f
Check for PAM_PRELIM_CHECK and simply do nothing. (Did this even work
...
in FreeBSD?)
2005-02-26 18:03:37 +00:00
wiz
03a04bd58b
Add article.
2005-02-26 16:37:46 +00:00
wiz
b055ab330f
Sort SEE ALSO.
2005-02-26 16:36:53 +00:00
thorpej
7331ee2083
Merge PAM20050226.
...
XXX Hack here until we import OpenPAM Feterita.
2005-02-26 16:03:58 +00:00
thorpej
4251f117ba
Merge PAM20050226.
2005-02-26 15:57:57 +00:00
wiz
cbc550d45c
Drop trailing whitespace.
2005-02-26 15:39:50 +00:00
wiz
9b82a3d7c1
Bump date for previous.
2005-02-26 15:39:23 +00:00
thorpej
28836513c3
Remove references to local_pass and nis_pass. Add description of
...
passwd_db option of the password management module.
2005-02-26 15:33:24 +00:00
thorpej
2f6bdc4a7b
Minor wording consistency nit.
2005-02-26 15:11:26 +00:00
thorpej
610505c88f
Fix a markup bug and a minor wording consistency nit.
2005-02-26 15:08:54 +00:00
thorpej
5a2161b24e
Minor wording consistency nit.
2005-02-26 15:05:25 +00:00
thorpej
9503750ce5
Oops, one more nit.
2005-02-26 15:04:52 +00:00
thorpej
5f604055a2
Minor wording consistency nit.
2005-02-26 15:04:09 +00:00
thorpej
aa2b566306
Wording consistency nits.
2005-02-26 15:02:15 +00:00
thorpej
d7bb9fc4f2
Minor wording consistency nit.
2005-02-26 14:54:25 +00:00
thorpej
0a40f744b4
Make sure to set yppwd.oldpass.
2005-02-26 02:57:32 +00:00
matt
ab963ad04b
Alphabetize main list of sources.
2005-02-25 21:51:10 +00:00
christos
4274cae273
Don't try to build PIC stuff if we cannot do PIC.
2005-02-25 18:26:00 +00:00
manu
34ec7ca0bb
update ipsec-tools version
2005-02-24 20:56:19 +00:00
manu
be15b99c92
Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
...
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu
da4d1abb40
bump ipsec-tools package version
2005-02-23 15:27:09 +00:00
he
738be40c8f
Make conversions from unsigned long to int explicit via casts,
...
rather than imiplicit, which causes lint heart burn ("conversion
from 'unsigned long' to 'int' may lose accuracy).
2005-02-20 23:59:31 +00:00
wiz
9086769d81
Fix Xref.
2005-02-20 19:39:09 +00:00
wiz
1d07a19af1
<> -> \*[Lt]\*[Gt].
2005-02-20 19:38:01 +00:00
wiz
b57f6d2615
Sort SEE ALSO.
2005-02-20 19:37:30 +00:00
christos
03b16f4fe5
Put back exit on warning for lint.
2005-02-20 17:06:33 +00:00
christos
595789382e
Fix lint on 64 bit machines.
2005-02-20 17:06:16 +00:00
martin
bf9e950197
This needs work to pass lint - whic I'm not going to invest.
...
Make lint not treat warnings as errors.
2005-02-20 16:20:36 +00:00
wiz
fb1b5900a0
Remove duplicate .Pp. XXX: References non-existing rad_config(3).
2005-02-20 01:02:07 +00:00
manu
00b13c7897
Build libradius, imported from FreeBSD
2005-02-20 00:52:02 +00:00
christos
6683368b82
Add pam_radius.
2005-02-20 00:37:49 +00:00
christos
ccb28c34b3
Get rid of liblibradius; hi manu.
2005-02-20 00:36:47 +00:00
christos
23d6637ce7
Oops, include dir.
2005-02-20 00:32:18 +00:00
christos
28074938ee
Add include files.
2005-02-20 00:31:01 +00:00
christos
476ca6e1f0
Pass lint and WARNS=3
2005-02-20 00:28:20 +00:00
manu
8809553739
Import FreeBSD's libradius as of 2005/02/20, plus minor tweaks to build
...
o nNetBSD and a Makefile for NetBSD.
2005-02-19 23:56:30 +00:00
christos
a6d2304b90
constify, whitespace.
2005-02-19 22:55:35 +00:00
christos
9485d63b3e
Fix whitespace.
2005-02-19 22:47:51 +00:00
christos
c8127943d0
Fix pk to use BN_ instead of libmp.
2005-02-19 22:47:10 +00:00
thorpej
05597c360c
Enable building the lint library.
2005-02-19 22:03:49 +00:00
christos
185393efaa
PAM support from FreeBSD.
2005-02-19 21:55:52 +00:00
thorpej
01db58f7e8
Bump shlib version to 2.1 as was intended with ipsec-tools integration.
2005-02-19 21:44:35 +00:00
tsutsui
1b4b48e1ea
Add (missed) fabs.c to SRCS.
2005-02-19 18:18:53 +00:00
thorpej
c5aea678b7
Additional cleanup pass.
2005-02-19 16:58:26 +00:00
thorpej
354f2a1004
Switch to ipsec-tools for libipsec, setkey, and racoon. From
...
Emmanuel Dreyfus, with some small changes by me.
2005-02-19 16:55:02 +00:00
dsl
67b39d4957
Change first arg of __hash_more to const void * to remove need for double casts
2005-02-18 22:16:27 +00:00
christos
1a940a96f9
remove extraneous `*' that caused a core-dump.
2005-02-17 21:22:25 +00:00
christos
3f899b0a98
do some manual CSE.
2005-02-17 19:58:21 +00:00
tron
f82977b51c
Fix lint warning caused by last change.
2005-02-17 19:15:38 +00:00
enami
aa6d8c7778
Jump to just before the copy instead of after it. Saves 8 byte on i386.
2005-02-17 04:30:23 +00:00
enami
d02f179fc6
Simplify, KNF and plug leaks. Compile test only.
2005-02-17 04:16:09 +00:00
briggs
a6246199bb
Supply _kvm_kvatop() and _kvm_pa2off() for OEA-type CPUs. This does
...
not yet support other PPC CPU types.
Contributed by Wasabi Systems Inc.
2005-02-17 02:31:27 +00:00
christos
81a2ba5600
Simplify and KNF. Instead of keeping track if the pointer was allocated,
...
keep a copy of the pointer itself and only re-use it if the current
environment is equal to the saved pointer. Idea from OpenBSD. Avoids
problem of re-allocing a non-allocated pointer if a program resets the
environment after it has been grown.
2005-02-17 02:17:43 +00:00
christos
4a16e53162
Remove HAVE_LOGIN_CAP it is not used.
...
Remove radix.c and kerberos glue; we'll put it in the programs themselves.
from Love.
2005-02-13 22:42:24 +00:00
christos
9233e29e04
Update for OpenSSH-3.9; bump major.
2005-02-13 06:06:48 +00:00
simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
christos
b35aef8d4b
Default back pthread__concurrency to 1 until we fix the regression test
...
related to pthread_kill().
2005-02-10 23:42:37 +00:00
tnozaki
7aab8c378d
considering huge character set(ucs, gb18030),
...
use not linear but binary search.
this change derrived from recent FreeBSD's rune.
2005-02-10 19:19:57 +00:00
tnozaki
476f0d92a1
fix typo in _DIAGASSERT
2005-02-10 19:03:51 +00:00
christos
3a610280bb
If $PTHREAD_CONCURRENCY is not set, set it to ncpu
2005-02-10 02:20:49 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
kleink
23cad56e0c
Use strtoimax(), incidentally removing the only libc-internal use of
...
strtoq().
2005-02-09 19:32:36 +00:00
christos
e816a03a29
Bring back the head versions. Apparently the problem is a pkgsrc issue
...
unrelated to strings.
2005-02-09 18:15:16 +00:00
drochner
f2a3f79f1c
work around a prototype conflict by including ioctl.h
...
before we redefile ioctl()
2005-02-09 18:02:53 +00:00
kleink
4d58969864
Declare rs_initialized static.
2005-02-09 12:09:08 +00:00
christos
122f93c73b
Revert everything to 2005-02-03 until the code is properly tested. Building
...
kde3 breaks with the head code.
2005-02-07 05:22:51 +00:00
christos
dbbaa0dafa
PR/29248: Geoff C. Wing: memchr broken after latest commit.
...
Apply fix submitted by jtc: The problem was that his regression tests
never checked for characters with the high bit set. Change movl to movzbl
where it was not done yet. In addition strrchr.S missed a jump to Lzero.
2005-02-06 18:36:32 +00:00
agc
f255b51ddc
Another fall-out from the de-__Ping round.
2005-02-06 18:00:30 +00:00
perry
4fcf86857c
de-__P (really de-P)
2005-02-06 05:53:07 +00:00
perry
0f3d05ee54
remove unneeded definition of "P" macro
2005-02-06 05:52:25 +00:00
perry
252786f3ee
de-__P (really de-P), and fix the broken prototype for printsub
2005-02-06 05:48:23 +00:00
yamt
97bb1b498d
revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)
...
as gzio.c counterpart has been reverted.
2005-02-05 16:37:03 +00:00
drochner
dfc9e068c7
switch to J.T.Conklin's optimized str* functions
...
(submitted per PR i386/25263)
2005-02-04 18:12:52 +00:00
perry
7bcd7064be
de-__P
2005-02-04 16:14:21 +00:00
perry
8e902846e9
remove a spurious space in a function declaration
2005-02-04 16:13:14 +00:00
perry
9f5c37981e
de-__P, slightly KNF, and make a bit of the formatting more consistent.
2005-02-04 16:12:13 +00:00
perry
e738b65d24
de-__P, ANSIfy function declarations
2005-02-04 15:52:08 +00:00
perry
d806a865f6
de-__P
2005-02-04 15:27:44 +00:00
he
dcdc758deb
Introduce a few more temporary variables, in order to avoid an ugly
...
double cast in the pam_get_item() invocations. The double cast
triggered a "discards qualifier" warning/error from gcc 2.95.3, while
trying to fix that by adding "cost" to the "void *" cast produced
a similar warning from gcc 3.3. This now compiles without warning
with both compilers.
Approved by christos
2005-02-04 15:11:35 +00:00
dsl
3fd6225eec
Pull optimised code from memcpy.S
...
Maybe bcopy can be killed one day...
2005-02-03 22:35:11 +00:00
dsl
2c19ca7c2b
Bring code in from obsolesent bcopy.S
...
Optimise to avoid mis-predicted braches and 'rep movsb' for small %cx.
2005-02-03 22:31:44 +00:00
dsl
781e1351cd
A faster implementation.
...
'rep stos' is slow to setup on modern processors, so don't use it to
align the transfer.
Also not that 8 byte alignment is faster on Intel processors
2005-02-03 22:05:01 +00:00
christos
cca9405683
Add charles' mlock fixes, protected with PTHREAD_MLOCK_KLUDGE and enabled
...
by default, until we come up with a real fix.
2005-02-03 17:30:33 +00:00
wiz
303329913a
We have 2005.
2005-02-02 14:34:25 +00:00
wiz
463db6dc4b
Sort SEE ALSO, fix an xref, and s/FreeBSD/.Fx/.
2005-02-02 14:33:20 +00:00
christos
691a62246e
Avoid passing in the actual pw field in gettime because it might not
...
be the type that we think it is. Fixes cross builds.
2005-02-01 23:47:38 +00:00
christos
1d6e3b563a
Add a new option "authenticate" that requires the user to enter his own
...
password to login.
2005-02-01 22:55:11 +00:00
christos
44d1e6097a
Re-write to use both utmp and utmpx properly.
2005-02-01 17:54:48 +00:00
drochner
d6e66e178c
fix pasto from sigignore.3
2005-02-01 13:55:19 +00:00
daniel
760b46e0e9
Document PTHREAD_CONCURRENCY, ack by wiz@.
2005-02-01 11:38:27 +00:00
enami
22e3442eb2
- Modify realpath() not to alter process wide state current working
...
directory. Strategy from FreeBSD. Addess PR#28986.
- Make realpath() to return an error when null string is passed or
the last component is symlink to null string. The kernel lookup
routine returns an error if such path are passed.
2005-01-30 22:37:32 +00:00
jwise
1161efa5da
Comment back in cross-references to other man pages, was looking at a non-recent
...
DESTDIR. Other half of last change was correct.
Pointed out by wizd.
2005-01-30 18:13:04 +00:00
jwise
449bc64125
<sys/types.h> must be included before <sys/uuid.h>.
...
Also, while here, remove `SEE ALSO' section which referenced only man pages
which we do not have.
2005-01-30 03:20:17 +00:00
wiz
910da6b63e
Add "not" to a sentence so that it makes more sense.
2005-01-29 14:19:43 +00:00
wiz
b2d185782d
Use In instead of Fd; use \*[Am]\*[Lt]\*[Gt] for html output. Uppercase FREENIX.
2005-01-28 11:04:52 +00:00
itojun
cc1dea55c3
title was backwards. djm@openbsd
2005-01-28 01:36:17 +00:00
wrstuden
e384a44e9d
Extend fsync_range(2) to support the FDISKSYNC flag, which requests
...
that the sync be propogated out through the disk drive caches.
2005-01-25 23:55:20 +00:00
wiz
93f4ac130d
Fix a double word, and improve mark up in FILES section. From jmc@openbsd.
2005-01-25 01:39:57 +00:00
manu
08ad2c449b
Set correct default for the nologin file: /etc/nologin
...
Handle the ignorenologin capability
2005-01-23 09:45:02 +00:00
enami
b2ed183e5b
- Remove macros used only by old getcwd() implementation.
...
- Fix memory leak on error. (I guess the loop isn't necessary but
it is different matter).
- Remove knowledge about old malloc implementation.
2005-01-23 01:00:51 +00:00
briggs
a665897c6f
Bring in sem_open (& sem_close & sem_unlink) man page from FreeBSD.
...
These functions are actually implemented, but the old man page said that
they simply returned with errors--it was apparently out of date at the
time of import.
2005-01-22 03:16:33 +00:00
christos
a10b4794fd
change long -> unsigned long
2005-01-20 21:53:23 +00:00
christos
8817e95118
remove debugging printf.
2005-01-20 21:11:56 +00:00
kleink
774c973096
Note ENOATTR; from FreeBSD.
2005-01-20 13:23:57 +00:00
kleink
b2f3ea1a33
Add ENOATTR (and a missing comma); noted by Takehiko NOZAKI.
2005-01-20 13:14:09 +00:00
christos
b1c3c94911
Improve error messages.
2005-01-19 22:59:24 +00:00
christos
b51e7f1581
- fix initialization of dowarn [use before set, thanks luke]
...
- always initialize flags so that we don't have to check for it.
- use the consistent variable names in functions.
2005-01-19 22:40:37 +00:00
christos
a31e08fdfc
- test for too long username (from Greg Woods)
...
- centralize id and time_t parsing, providing better error checking of
numeric values; previously the code would accept 12foo as an expiration
or change time.
- fix issue with dereferencing null flags in compat code.
- ansify, KNF
2005-01-19 19:13:38 +00:00
mycroft
ebfdf0c012
If TIOCPTMGET fails, close /dev/ptm.
2005-01-19 01:54:09 +00:00
mycroft
e638979d5c
Use FD_CLOEXEC.
2005-01-19 00:59:48 +00:00