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
des
3850ee9d70
Cosmetic nit.
2002-04-14 18:30:03 +00:00
des
0559ebe0fd
Cast a ptrdiff_t to int before using it as a printf field width.
2002-04-14 16:44:04 +00:00
asmodai
3b69e0094c
Remove the hard-coded limit of 3 bytes for EUC encodings.
...
Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to
any arbitrary number.
We now set the limit to the maximum octet length of the codeset and it is
locale-specific.
Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
2002-04-14 10:55:42 +00:00
dd
a967b14fde
Correct markup.
2002-04-14 02:29:20 +00:00
des
e824bdd8fb
Install digittoint.3 (forgotten in rev 1.21)
...
PR: docs/26451
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
2002-04-13 22:32:33 +00:00
obrien
58a5019a88
libstand needs _setjmp/_longjmp for FICL.
...
Submitted by: jake
2002-04-13 22:09:53 +00:00
obrien
36d8f389da
Style nit and modernize SCM ID.
2002-04-13 21:54:09 +00:00
asmodai
4d94ee39e6
Use the correct macros for F_SETFD/F_GETFD instead of magic numbers.
...
Reflect that fact in the manual page.
PR: 12723
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Approved by: bde
MFC after: 2 weeks
2002-04-13 10:16:53 +00:00
des
81589630e3
Add support for FreeBSD-specific "master" update.
...
Sponsored by: DARPA, NAI Labs
2002-04-13 06:57:14 +00:00
des
081c2bd28b
Header file for libypclnt.
...
Sponsored by: DARPA, NAI Labs
2002-04-13 06:20:31 +00:00
des
ef36a30716
NIS client toolbox. This centralizes code which is duplicated all over
...
our tree.
Sponsored by: DARPA, NAI Labs.
2002-04-13 06:20:02 +00:00
des
ec61ca3f2c
Change || into && (braino in previous commit). Also append \n to the
...
error message.
2002-04-13 06:14:30 +00:00
dd
c574a3c922
This was recently MFC'd, so it will appear in 4.6.
...
PR: 37018
2002-04-13 04:25:56 +00:00
marcel
7de93ed35c
Implement _Unwind_FindTableEntry(). This function is part of GCC
...
for some configurations, but not for FreeBSD (yet?). Have one in
libc in the mean time.
2002-04-13 04:06:34 +00:00
des
a8ed917937
Major cleanup:
...
- add __unused where appropriate
- PAM_RETURN -> return since OpenPAM already logs the return value.
- make PAM_LOG use openpam_log()
- make PAM_VERBOSE_ERROR use openpam_get_option() and check flags
for PAM_SILENT
- remove dummy functions since OpenPAM handles missing service
functions
- fix various warnings
Sponsored by: DARPA, NAI Labs
2002-04-12 22:27:25 +00:00
des
bee5210d96
Add a pam_rhosts module, loosely based on code submitted by Danny Braniss.
...
Submitted by: Danny Braniss <danny@cs.huji.ac.il>
Sponsored by: DARPA, NAI Labs
2002-04-12 20:10:18 +00:00
des
ca8afeff70
Rename the even_root option to allow_root.
...
Sponsored by: DARPA, NAI Labs
2002-04-12 20:05:27 +00:00
ru
79d726fd79
Reimplement the hack to put pam_static.o into .depend with some magic.
2002-04-11 12:21:16 +00:00
trhodes
6f359135dd
scanf.3 has an obsolete ``this release''.
...
PR: 35610
MFC after: 2 days
2002-04-10 20:52:49 +00:00
ru
aab0c4649e
Moved SHLIB_NAME definition into one place.
...
Approved by: des
2002-04-10 18:07:05 +00:00
ru
fe715089ee
Fixed broken "make depend; make clean; make all" sequence.
...
I've looked for this example for a long time, to demonstrate
some people why it's a really BAD idea to use ${.OBJDIR}
instead of ".". I hope these people are reading this. :-)
Approved by: des
2002-04-10 18:00:32 +00:00
ru
a7461c1086
Fix broken `checkdpadd'.
...
-lroken is an installable library, there's no need to give an
explicit path to it. In any case, -L paths should be specified
in LDFLAGS if needed.
Approved by: des
2002-04-10 17:53:43 +00:00
ru
06b9707e4e
Don't override standard _EXTRADEPEND actions, add to them.
...
Fix CLEANFILES.
Collapse openpam_static_modules.o generation.
2002-04-10 17:46:59 +00:00
ru
76ecabcdaf
Don't build manuals at inappropriate time.
...
Collapse generation of md[245].3 manpages.
2002-04-10 17:01:55 +00:00
trhodes
05004b3a23
crypt(3) incorrectly documents md5 salt, fixed.
...
PR: 36782
No objections from: ru
MFC after: 3 days
2002-04-09 22:32:59 +00:00
obrien
5e7c6e11ad
Use -ffreestanding. It is REQUIRED by GCC 3.1 on all architectures.
...
I don't like putting this very-GCC centric option here; but no one as given
a better idea of handling it.
Reviewed by: jhb
2002-04-09 20:38:29 +00:00
ru
3f7981754a
-ltermcap is spelled -lncurses nowadays.
2002-04-09 13:04:31 +00:00
ru
6d38d7dc3c
No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.
2002-04-09 11:39:05 +00:00
asmodai
3bbff54970
Return correct number of total bits set in all fd_set's.
...
Change case of POLLNVAL as an error.
Remove POLLHUP and POLLERR from one case, their place is most likely
amongst read events.
PR: 33723
Submitted by: Alexander Litvin <archer@whichever.org>
Reviewed by: deischen [Provided a small change to the PR patch as well]
MFC after: 4 weeks
2002-04-09 05:41:00 +00:00
obrien
550927f578
Break the sparc64 build. I expect those that complained about this commit
...
to fix the sparc64 case to their liking.
2002-04-09 05:34:22 +00:00
jake
a72383027f
Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,
...
and add some compatibility defines. Add fields for ins and locals to
struct reg also for the same reason; these aren't filled in yet because
getting at those registers sucks and I'd rather not save them in the
trapframe just for this. Reorder struct reg to be ABI compatible as
well. Add needed include of machine/emul.h.
This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it
doesn't work yet :(
2002-04-09 00:57:23 +00:00
obrien
6aabd0ab72
sparc64 grew _setjmp/_longjmp.
2002-04-08 20:46:07 +00:00
obrien
0d26ffda3d
Use -ffreestanding.
2002-04-08 20:45:44 +00:00
obrien
3d5625e8b9
For now we are using our old crt{begin,end}.
2002-04-08 20:31:20 +00:00
des
1f9601f664
Remove debugging code that was inadvertantly brought in by previous commit.
2002-04-08 12:41:08 +00:00
des
9cd6ec4ad1
Use OpenPAM's credential switching functions.
...
Sponsored by: DARPA, NAI Labs
2002-04-08 12:38:50 +00:00
des
23313aa020
Add new files and man pages from OpenPAM Cinchona.
...
Sponsored by: DARPA, NAI Labs
2002-04-08 12:34:53 +00:00
des
74ba30d1ef
Remove commented-out WARNS thingy.
2002-04-08 12:33:48 +00:00
ru
54bcb55671
Align for const poisoning in -lutil.
2002-04-08 11:07:51 +00:00
ru
07997437f0
Const poisoning.
2002-04-08 11:04:56 +00:00
phk
f0ca71273e
Catch up with const'ification of <sys/disklabel.h> and quelch warnings.
2002-04-08 08:57:21 +00:00
ru
b2401764d7
Fix style of ether_ntoa().
2002-04-08 07:51:10 +00:00
des
a3ac60a8cb
Reorganize pam_sm_authenticate() to reduce code duplication.
...
Sponsored by: DARPA, NAI Labs
2002-04-07 21:18:18 +00:00
des
71240839dd
Fix bug in previous commit that passed the wrong default value to
...
login_getcapstr(3). Also fix a longer-standing bug (login_close(3)
frees the string returned by login_getcapstr(3)) by reorganizing the
code a little, and use login_getpwclass(3) instead of login_getclass(3)
if we already have a struct pwd.
Sponsored by: DARPA, NAI Labs
2002-04-07 20:43:27 +00:00
asmodai
58d9ddfc7d
Fix EUC encoding conversion for codeset 3 and 4 to comply to the specification.
...
PR: 28552
Submitted by: NIIMI Satoshi <sa2c@and.or.jp>
2002-04-07 16:37:15 +00:00
des
ffe3791d9f
This one needs NO_WERROR too.
2002-04-07 12:53:58 +00:00
dd
4abe7f3290
Fix (for the second time) kvm_getprocs() for the case where no
...
processes match the given criteria. Since revision 1.60 of malloc.c,
malloc() and friends return an invalid pointer when given a size of 0.
kvm_getprocs() uses sysctl() with a NULL oldp argument to get an
initial size, but does not check whether it's 0 before passing it to
realloc() (via _kvm_realloc()). Before the aforementioned malloc()
change, this resulted in a minimal allocation made and a valid poitner
returned, but now results in an invalid, but non-NULL, pointer being
returned. When this is passed to sysctl(), the latter returns EFAULT
(as it should).
2002-04-07 04:47:58 +00:00
des
9c4d69ea42
Turn on NO_WERROR due to namespace pollution in krb5 headers.
2002-04-07 04:44:16 +00:00
des
ce173531cb
Aggressive cleanup of warnings + authtok-related code in preparation for
...
PAMifying passwd(1).
Sponsored by: DARPA, NAI Labs.
2002-04-06 19:30:04 +00:00
des
4172a237d2
Disconnect pam_passwdqc for now, it has some issues that need resolving.
2002-04-06 19:25:36 +00:00
des
78c249929b
Fix some style issues, a const warning, and abuse of PAM_ABORT.
...
Sponsored by: DARPA, NAI Labs
2002-04-06 14:25:04 +00:00
ru
c711dcdf85
Polish previous revision.
2002-04-06 09:54:17 +00:00
dillon
930f8eb170
Fix ether_ntoa() to generate the %02x format people expect, instead of %x,
...
for the ethernet address.
MFC after: 1 day
2002-04-06 05:21:57 +00:00
tmm
c944152856
htonl() and ntohl() operate on unsinged types, so they must zero-extend,
...
not sign-extend. Fix a comment in the former to that effect, and change
the latter over to do the right conversion.
2002-04-06 00:07:15 +00:00
des
d34172f018
Remove some duplicate free()s and add some that were missing.
...
Submitted by: tmm
2002-04-05 20:00:05 +00:00
des
b4638d93bf
pam_get_pass() -> pam_get_authtok()
2002-04-05 10:49:45 +00:00
des
b57ec45f38
Upgrade to something quite close, but not identical, to version 1.6 of
...
Andrew Korty's pam_ssh. The most notable difference is that this uses
commas rather than colons to separate items in the "keyfiles" option.
Sponsored by: DARPA, NAI Labs
2002-04-04 18:45:21 +00:00
des
4189a2f933
Add pam_passwdqc to the build.
...
Sponsored by: DARPA, NAI Labs
2002-04-04 16:08:28 +00:00
phk
8b6606cbb7
Initial deorbit burn for the undocumented and unused d_boot[01]
...
fields of struct disklabel.
Sponsored by: DARPA and NAI Labs.
2002-04-03 15:44:53 +00:00
ume
121ff2ebbe
When _kevent() returns with errno = EINTR and timeout is not
...
exceeded, it should be falldown to next_ns.
MFC after: 1 week
2002-04-01 16:09:45 +00:00
kris
d7a9079b76
Work around a gcc bug which causes zlib to dump core in certain
...
situations. This can be removed once gcc is fixed.
Submitted by: bde
2002-03-31 23:47:52 +00:00
markm
76fe441a7b
Do not use __progname directly (except in [gs]etprogname(3)).
...
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
2002-03-29 22:43:43 +00:00
joe
3f16f46fdb
Install libusbhid, and use it instead of libusb.
...
MFC after: 6 days
2002-03-28 18:44:25 +00:00
joe
d64659ecab
Update the documentation to reflect the change from libusb to libusbhid.
...
MFC after: 6 days
2002-03-28 18:22:33 +00:00
joe
49f5bd3fed
Finish the libusb.h -> libusbhid.h migration.
...
MFC after: 7 days
2002-03-28 11:42:45 +00:00
joe
7d051d542a
Rename libusb.h to libusbhid.h, via a repocopy.
...
MFC after: 7 days
2002-03-28 01:42:36 +00:00
joe
6343ab7849
Follow NetBSD and rename libusb to libusbhid.
...
MFC after: 7 days
2002-03-27 16:07:20 +00:00
obrien
efd376255c
Embellish more.
2002-03-26 23:09:34 +00:00
obrien
8475057e31
Embellish the comment.
2002-03-26 23:08:42 +00:00
bde
755d0bf04f
Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes.
2002-03-26 11:59:29 +00:00
bde
4fdf2dbaad
Fixed some bugs in the description of plain gamma() (and gammaf()).
...
Give a more detailed and correct history of when gamma() was actually
the gamma function.
2002-03-26 10:18:20 +00:00
bde
5713462d5a
Fixed some minor style bugs.
2002-03-26 09:18:09 +00:00
bde
2c14ede5e3
Fixed some style bugs in the removal of __P(()). Some function parameter
...
lists were outdented to column 0.
2002-03-26 01:35:05 +00:00
phk
33d488c8a4
Fix grammer in comment.
...
Submitted by: Engin Gunduz <engin@ripe.net>
2002-03-25 15:55:36 +00:00
phk
18a4c2c111
Modernize my email address.
2002-03-25 14:12:49 +00:00
phk
432db57cce
Modernize my email address
2002-03-25 13:53:46 +00:00
phk
811d04c86c
Modernize my email address.
2002-03-25 13:52:45 +00:00
phk
0078076cdd
Modernize my email-address.
2002-03-25 13:48:53 +00:00
dd
5939a9b399
A break after a return is useless.
2002-03-24 08:38:21 +00:00
dd
285344c7f5
Fix braino.
2002-03-24 06:30:28 +00:00
obrien
389ea5daa5
Update comments. We uniformly use __FBSDID in libc now.
2002-03-23 20:08:00 +00:00
obrien
2c31d393b3
W/o __P, the internal declarations will all fit on one line.
2002-03-23 18:22:40 +00:00
obrien
8cb84dc7fa
Style nit.
2002-03-23 18:14:20 +00:00