des
522debf4fd
Fix a really dumb bug (missing curly braces around the body of an if
...
statement) that caused pam_sm_chauthtok() to always fail silently.
2002-04-26 01:47:48 +00:00
des
8f75397c1d
#include <string.h> instead of <strings.h>
2002-04-25 18:14:39 +00:00
phk
06842004ed
Constify _malloc_options.
2002-04-24 16:49:36 +00:00
obrien
73fc976f74
Do not +1 with MAXPATHLEN.
...
Reviewed by: imp
2002-04-23 23:58:20 +00:00
des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
fenner
097dea9b47
Implement several of the c99 updates to scanf(3):
...
- New length modifiers: hh, j, ll, t, z.
Still to do:
- %C, %S, %lc, %ls (wide character support)
- %a/%A (exact hex representation of floating-point numbers)
Removed old compatability equivalents:
- %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these
were buggy anyway, since they should have represented %Le & %Lf).
- %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d
2002-04-20 17:00:56 +00:00
des
13a8751373
Oops, fix an inverted if test.
2002-04-20 16:52:41 +00:00
des
dc33f36d34
Strip /dev/ from tty name, and clean up the "last login" printout.
...
Sponsored by: DARPA, NAI Labs
2002-04-20 16:44:32 +00:00
des
c9db9bb418
login(3) doesn't care about the controlling terminal any more.
2002-04-20 12:24:20 +00:00
des
23c5e9b816
Fix for the sshd(8) utmp problem. Previously, login(3) would ignore the tty
...
named by its argument and use ttyslot(3) instead to determine what slot to
use. The problem is that sshd(8) calls pam_open_session(3) before forking
the child (as it should), at which point it does not have a controlling
terminal. Also, ttyslot(3) is very crude as it assumes fd 0, 1 or 2 refers
to the controlling terminal, which is usually (but not always) the case.
Instead of using ttyslot(3) to determine the slot number, look up the
specified tty in /etc/ttys ourselves (this is what ttyslot(3) does anyway).
(perforce change 9969)
Sponsored by: DARPA, NAI Labs
2002-04-20 12:23:04 +00:00
bp
27118745cb
Add character translation table between Unix and NetWare according
...
to Sweden standards.
Submitted by: Roger Olofsson <roger.olofsson@kommun.engelholm.se>
MFC after: 1 week
2002-04-20 05:35:02 +00:00
ru
e8ac4b4186
mdoc(7) police: polishing.
2002-04-19 11:24:02 +00:00
suz
553226e8e1
just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.
...
(based on freebsd4-snap-20020128)
Reviewed by: ume
MFC after: 1 week
2002-04-19 04:46:24 +00:00
mux
060b6e6650
Connect the kenv.2 manpage to the build.
2002-04-18 16:46:23 +00:00
mux
fa5515af77
Add a manpage for the kenv(2) syscall that Chad David kindly
...
wrote for me.
Submitted by: davidc
2002-04-18 16:45:57 +00:00
des
c5eb18e038
Back out previous commit, which was not at all approved by the maintainer
...
of this code. I very much doubt that "the FreeBSD way" really means "make
it as unreadable and unmaintable as possible", and I would like Makefile
style (which is not currently documented anywhere except in the minds of
bde and ru) to be discussed and agreed upon in the appropriate forum
before any further commits of this kind happen.
2002-04-18 16:20:18 +00:00
obrien
7a04230db3
This style is *way* outside the relm of any other of our Makefiles
...
(other than the single sys.mk). Adjust to smell like FreeBSD.
Reviewed & prefered by: bde
2002-04-18 15:13:06 +00:00
ru
3ff4ea08ea
Removed gratuitous LIBCOMPATDIR assignments.
2002-04-18 13:24:35 +00:00
ru
cc85fa29a6
This Makefile.inc depended on the (wrong) order of inclusion
...
of makefiles: bsd.own.mk was included before ../Makefile.inc,
effectively hiding the (wrong) LIBCOMPATDIR assignment here.
share/mk/sys.mk,v 1.60 (and assorted share/mk fixes) fixed
this order, revealed this bug, and broke "make release" and
"make installworld" with either of -DCOMPAT1X or -DCOMPAT2?.
Reported by: jhay
2002-04-18 06:46:34 +00:00
ru
67f99d8b8c
Revert previous change. bsd.dep.mk,v 1.31 had a bug that was fixed
...
in revision 1.32 and made this change OBE.
2002-04-17 05:46:41 +00:00
des
e914cc2fa2
Make mppath and masterpasswd pointers instead of arrays, and initialize
...
them to point at static strings that contain the default paths. This
makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking
so long to fix it.)
Spotted by: Olivier Houchard <doginou@cognet.ci0.org>
Sponsored by: DARPA, NAI Labs
2002-04-17 00:18:15 +00:00
des
283ac5768b
Add a missing .El and fix a typo.
...
Spotted by: Solar Designer <solar@openwall.com>
Sponsored by: DARPA, NAI Labs
2002-04-16 22:38:47 +00:00
ru
bc595cdde6
Reflect change in share/mk/bsd.dep.mk,v 1.31.
2002-04-16 12:52:22 +00:00
joe
b981450019
Support the snapshot file flag, so that tools like 'ls -ol' work
...
as expected on snapshot files.
PR: bin/37038
Submitted by: Joshua Goodall <joshua@roughtrade.net>
2002-04-16 11:03:22 +00:00
ceri
36e818184d
Add a missing cross-ref.
...
Approved by: murray
MFC after: 1 week
2002-04-16 10:15:51 +00:00
obrien
2cae3ce3f1
The GCC developers have made good on their threats against #pragma for 3.1.
...
Use __weak_reference in place of the #pragma.
Submitted by: eischen
2002-04-15 23:11:38 +00:00
obrien
938168982f
Back out rev 1.6 -- I was in the wrong dir during a 'ci'. This change
...
was on hold waiting feedback from previous committer.
2002-04-15 23:03:29 +00:00
obrien
7f0d36ec10
ypclnt.h was the correct spelling... we now have yet another special
...
thing that needs to be done to get a header installed.
2002-04-15 22:57:56 +00:00
des
b41d43d579
Revert previous commit, it is incorrect.
2002-04-15 22:51:31 +00:00
obrien
f46bf6f79a
Properly spell rpcsvc/ypclnt.h and fix the build.
2002-04-15 22:47:28 +00:00
obrien
b297f3946c
Sync SCM ID comments with libc.
2002-04-15 20:22:28 +00:00
ume
31dc2e2cc4
Add awareness of an IPv6.
...
MFC after: 1 week
2002-04-15 18:45:20 +00:00
des
929a8fb33d
Remove bogus reference to _use_yp.
2002-04-15 15:50:59 +00:00
des
d44a434afa
Fix incorrect dependency. This should fix the -j build.
2002-04-15 15:39:14 +00:00
ru
dfc9f89396
This isn't WARNS ready in the -nostdinc case.
2002-04-15 15:30:10 +00:00
des
1a41b2c911
Throw in NO_WERROR to please the peanut gallery.
2002-04-15 13:10:28 +00:00
nectar
1f91e94116
Quoting log message for OpenBSD rev 1.7:
...
``Tack on MagniComp (BSD) license since this originally came from rdist.''
Obtained from: OpenBSD
2002-04-15 12:46:07 +00:00
des
ade0386724
Use PAM_SUCCESS instead of PAM_IGNORE.
2002-04-15 06:26:32 +00:00
des
2eefb07eae
Whitespace nits.
2002-04-15 03:52:22 +00:00
des
60c7199162
Add a manual page based on Solar Designer's README.
...
Sponsored by: DARPA, NAI Labs
2002-04-15 03:45:14 +00:00
des
8ac6182da3
pam_passwdqc depends on libcrypt.
2002-04-15 03:44:42 +00:00
des
887c2ed009
Prompt for new password during update phase, not during preliminary phase.
...
Sponsored by: DARPA, NAI Labs
2002-04-15 03:00:14 +00:00
des
ee50be8376
Dike out most of the NIS code and replace it with calls to libypclnt.
...
Rework pam_sm_chauthtok() so it (mostly?) works.
The standard pw stuff still needs to move into a library somewhere.
Sponsored by: DARPA, NAI Labs
2002-04-15 02:34:43 +00:00
des
a3b36620cd
Add a missing generated file.
2002-04-15 02:32:04 +00:00
des
e4c18be72a
Missed a spot in previous commit.
...
Sponsored by: DARPA, NAI Labs
2002-04-15 00:21:25 +00:00
des
934fb9469d
pam_passwdqc builds now.
2002-04-14 22:31:36 +00:00
des
bcdd9b211b
Connect libypclnt to the build.
2002-04-14 22:27:12 +00:00
des
06b809501b
(ab)use unused bits in the pw_fields member of struct passwd to record
...
the source of the data contained in the structure.
Sponsored by: DARPA, NAI Labs
2002-04-14 22:24:55 +00:00
des
de25faf452
More recent versions of pam_passwdqc (not yet released) build with very
...
few warnings.
2002-04-14 18:48:57 +00:00
des
8a86f9fc45
New files in OpenPAM Cineraria.
...
Sponsored by: DARPA, NAI Labs
2002-04-14 18:30:27 +00:00