Dag-Erling Smørgrav
0b759b867a
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
David E. O'Brien
8321eb62f6
libstand needs _setjmp/_longjmp for FICL.
...
Submitted by: jake
2002-04-13 22:09:53 +00:00
David E. O'Brien
88727b7db9
Style nit and modernize SCM ID.
2002-04-13 21:54:09 +00:00
Jeroen Ruigrok van der Werven
bcbf4411d6
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
Dag-Erling Smørgrav
774cd88f19
Add support for FreeBSD-specific "master" update.
...
Sponsored by: DARPA, NAI Labs
2002-04-13 06:57:14 +00:00
Dag-Erling Smørgrav
23d232d73b
Header file for libypclnt.
...
Sponsored by: DARPA, NAI Labs
2002-04-13 06:20:31 +00:00
Dag-Erling Smørgrav
c0f2281edd
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
Dag-Erling Smørgrav
2f6ee8eb7e
Change || into && (braino in previous commit). Also append \n to the
...
error message.
2002-04-13 06:14:30 +00:00
Dima Dorfman
62538f5a03
This was recently MFC'd, so it will appear in 4.6.
...
PR: 37018
2002-04-13 04:25:56 +00:00
Marcel Moolenaar
2d631dd6fa
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
Dag-Erling Smørgrav
24fe7ba0d9
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
Dag-Erling Smørgrav
95ca4cb3f6
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
Dag-Erling Smørgrav
fd994fa945
Rename the even_root option to allow_root.
...
Sponsored by: DARPA, NAI Labs
2002-04-12 20:05:27 +00:00
Ruslan Ermilov
a60a1ea33b
Reimplement the hack to put pam_static.o into .depend with some magic.
2002-04-11 12:21:16 +00:00
Tom Rhodes
7d358b9a2a
scanf.3 has an obsolete ``this release''.
...
PR: 35610
MFC after: 2 days
2002-04-10 20:52:49 +00:00
Ruslan Ermilov
90a9863e16
Moved SHLIB_NAME definition into one place.
...
Approved by: des
2002-04-10 18:07:05 +00:00
Ruslan Ermilov
196f4c26f4
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
Ruslan Ermilov
e348eb5318
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
Ruslan Ermilov
f5ef4bac45
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
Ruslan Ermilov
11c456c0be
Don't build manuals at inappropriate time.
...
Collapse generation of md[245].3 manpages.
2002-04-10 17:01:55 +00:00
Tom Rhodes
96f68db50b
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
David E. O'Brien
168ca73831
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
Ruslan Ermilov
357bbe4abe
-ltermcap is spelled -lncurses nowadays.
2002-04-09 13:04:31 +00:00
Ruslan Ermilov
c3e3cbe16e
No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.
2002-04-09 11:39:05 +00:00
Jeroen Ruigrok van der Werven
92d2baa6a2
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
David E. O'Brien
1c47b73286
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 Burkholder
82436f1067
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
David E. O'Brien
5447d21d05
sparc64 grew _setjmp/_longjmp.
2002-04-08 20:46:07 +00:00
David E. O'Brien
ae9b2dab02
Use -ffreestanding.
2002-04-08 20:45:44 +00:00
David E. O'Brien
f01730b279
For now we are using our old crt{begin,end}.
2002-04-08 20:31:20 +00:00
Dag-Erling Smørgrav
2270ac91b4
Remove debugging code that was inadvertantly brought in by previous commit.
2002-04-08 12:41:08 +00:00
Dag-Erling Smørgrav
eafd17c552
Use OpenPAM's credential switching functions.
...
Sponsored by: DARPA, NAI Labs
2002-04-08 12:38:50 +00:00
Dag-Erling Smørgrav
f6363a1814
Add new files and man pages from OpenPAM Cinchona.
...
Sponsored by: DARPA, NAI Labs
2002-04-08 12:34:53 +00:00
Dag-Erling Smørgrav
2bca1ead9a
Remove commented-out WARNS thingy.
2002-04-08 12:33:48 +00:00
Ruslan Ermilov
f2f306b622
Align for const poisoning in -lutil.
2002-04-08 11:07:51 +00:00
Ruslan Ermilov
b00ba4ccbb
Const poisoning.
2002-04-08 11:04:56 +00:00
Poul-Henning Kamp
674a5ae34f
Catch up with const'ification of <sys/disklabel.h> and quelch warnings.
2002-04-08 08:57:21 +00:00
Ruslan Ermilov
7c1d25d6c2
Fix style of ether_ntoa().
2002-04-08 07:51:10 +00:00
Dag-Erling Smørgrav
50000f00df
Reorganize pam_sm_authenticate() to reduce code duplication.
...
Sponsored by: DARPA, NAI Labs
2002-04-07 21:18:18 +00:00
Dag-Erling Smørgrav
a8b1e59eb2
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
Jeroen Ruigrok van der Werven
a243e676fe
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
Dag-Erling Smørgrav
9db21c5fd1
This one needs NO_WERROR too.
2002-04-07 12:53:58 +00:00
Dima Dorfman
21687047cf
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
Dag-Erling Smørgrav
92c07aa880
Turn on NO_WERROR due to namespace pollution in krb5 headers.
2002-04-07 04:44:16 +00:00
Dag-Erling Smørgrav
111ccd256c
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
Dag-Erling Smørgrav
18006b1ab8
Disconnect pam_passwdqc for now, it has some issues that need resolving.
2002-04-06 19:25:36 +00:00
Dag-Erling Smørgrav
4004c08e79
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
Ruslan Ermilov
dab8ffaac3
Polish previous revision.
2002-04-06 09:54:17 +00:00
Matthew Dillon
87bd4d6ceb
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
Thomas Moestl
ca31253aa8
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