Commit Graph

73340 Commits

Author SHA1 Message Date
obrien
f8ef670650 Update SCM ID method. 2002-04-13 10:17:18 +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
obrien
e2a368995a Make str_concat handle NULL arguments properly (a-la how ODE-2.3.6 make does).
Submitted by:	jmallett
Inspired by:	CMU BUILDTOOLS4 coredumping, ODE-2.3.6 make(1)
2002-04-13 10:13:39 +00:00
obrien
64ca819597 De'register. 2002-04-13 10:05:30 +00:00
obrien
dfc0fa60ce Constify str_concat()
Submitted by:	jmallett
2002-04-13 09:49:33 +00:00
obrien
9d111f7a74 Check to make sure fdopen() succeeds in make(1).
Submitted by:	jmallett
Inspired by:	NetBSD
2002-04-13 09:10:07 +00:00
dd
b2386b0cda ${BDECFLAGS} gets added to CFLAGS, not CXFLAGS.
PR:		37032
Submitted by:	Joshua Goodall <joshua@roughtrade.net>
2002-04-13 09:07:22 +00:00
marcel
6d2690ed64 High-level changes (user visible):
o  Implement -c (clear) to clear previously kept headers (note that
   dumps not cleared will remain until -c is used),
o  Implement -f (force) to allow re-saving a previously saved dump,
o  Implement -k (keep) and make clearing the dump header the default,
o  Implement -v (verbose) and make most output conditional upon it,
o  Emit minimal output for the non-verbose case with the assumption
   that savecore is run mostly from within /etc/rc,
o  Update usage message to reflect what is and what's not,
o  mark -d as obsolete.

Low-level changes:
o  Rename devname to device, for devname mirrors a global declaration
   and GCC 3.x warns about it,
o  Open the dump device R/W for clear and !keep to work,
o  Reorder the locals of DoFile according to style(9),
o  Remove newlines from strings passed to warn* and err*,
o  Use stat(2) to check if a dump has been saved before,
o  Truncate existing core and info files to support force,
o  First check for the magic and the version before we complain about
   parity errors. This prevents emitting parity error messages when
   there's no dump,
o  Keep track of the number of headers found and the number of headers
   saved to support the minimal output,
o  Close files we opened in DoFile. Not critical, but cleaner.
2002-04-13 08:20:15 +00:00
des
2eccbb788c Add libypclnt to the includes target. 2002-04-13 07:24:14 +00:00
des
3359f274e8 Add libypclnt. 2002-04-13 07:23:25 +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
imp
a032457ac7 Fix an edge case wrt membase, but more changes needed 2002-04-13 05:52:35 +00:00
ache
b2dbe33cce Re-add sort spammed in v1.62 2002-04-13 05:49:33 +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
imp
60914cb854 Restore NetBSD copyrights that shouldn't have been removed in the first place. 2002-04-13 04:07:07 +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
eric
2d36550df1 Fix compilation in the non-FreeBSD case.
Sponsored by:	Apple
2002-04-13 01:17:21 +00:00
tmm
86be827a6a Back out the last revision - it does not work correctly when one of
the pages in question is not in the top-level vm object, but in
one of the shadow ones.

Pointed out by: alc
Pointy hat to:	tmm
2002-04-13 00:03:07 +00:00
des
af95c9711d Use pam_rhosts(8). 2002-04-12 23:20:30 +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
38971df82a Fix typo in openpam_log macro (perforce change 9634)
Sponsored by:	DARPA, NAI Labs
2002-04-12 22:22:27 +00:00
des
cae96c769e This commit was generated by cvs2svn to compensate for changes in r94562,
which included commits to RCS files with non-trunk default branches.
2002-04-12 22:22:27 +00:00
trhodes
6d87908c0d Make a few content fixes/additions to tap(4) manual page.
PR:		36985
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
MFC after:	4 days
2002-04-12 22:06:16 +00:00
charnier
3fbc0658fd Do not print error message twice. 2002-04-12 21:36:54 +00:00
charnier
675dc11ac9 .Ar filename ... is equivalent to .Ar. 2002-04-12 21:31:24 +00:00
charnier
d888a630ae Replace err() with errx(), errno is garbage in this context. 2002-04-12 21:25:16 +00:00
charnier
cdd3ddccaa Reduce the number of spelling mistakes. 2002-04-12 21:18:05 +00:00
jhb
6629f872ca Rework ptrace(2) to be more locking friendly. We do any needed copyin()'s
and acquire the proctree_lock if needed first.  Then we lock the process
if necessary and fiddle with it as appropriate.  Finally we drop locks and
do any needed copyout's.  This greatly simplifies the locking.
2002-04-12 21:17:37 +00:00
gshapiro
a025cc5b24 Add my Copyright on this file so I can allow others to use it 2002-04-12 20:28:06 +00:00
charnier
64ab19a185 Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able. 2002-04-12 20:23:51 +00:00
charnier
21bbb17290 End of comment was missing at FreeBSD Id line. Switch to FBSDID. 2002-04-12 20:16:15 +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
obrien
0e221eece2 Updated to a 10-April-2002 2.12 branch snapshot.
This fixes serious problems in ld's symbol handling.
2002-04-12 19:59:42 +00:00
obrien
3627aaf2f7 Use the stock 2.12 snapshot version of this. 2002-04-12 19:55:38 +00:00
obrien
f171f7828d Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020410 snap.
2002-04-12 19:54:53 +00:00
obrien
855b73c774 Bring the binutils_2_12_20020410 snap version of this to the HEAD branch. 2002-04-12 19:54:03 +00:00
obrien
d837c4ddf2 Merge the stock 2.12.0 snap version. 2002-04-12 19:52:34 +00:00
obrien
bda61c1746 Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020410 snap. 2002-04-12 19:51:31 +00:00
obrien
f42de708c0 Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.12_20020410 snap. 2002-04-12 19:50:32 +00:00
obrien
0efa280d1b Merge our ELF branding into Binutils 2.12_20020410 snapshot. 2002-04-12 19:49:24 +00:00
ru
085e16fca5 Add a tool (and the first application of it) that could be used
to automate building of libraries.

Prodded by:	bde
2002-04-12 19:46:25 +00:00
sobomax
08c080ac1d Fix an ages-old bug in sed(1), which resulted in the absolutely valid
substitution expressions in the form `s,[fooexp],[barexp],;...' treated
as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-th character in
the line.

MFC after:	2 weeks
2002-04-12 19:46:05 +00:00
tmm
1720bac84c Do not use pmap_kextract() to find out the physical address of a user
belong to a user virtual address; while this happens to work on some
architectures, it can't on sparc64, since user and kernel virtual
address spaces overlap there (the distinction between them is done via
separate address space identifiers).

Instead, look up the page in the vm_map of the process in question.

Reviewed by:	jake
2002-04-12 19:38:41 +00:00
obrien
389e1779ff This commit was generated by cvs2svn to compensate for changes in r94536,
which included commits to RCS files with non-trunk default branches.
2002-04-12 19:33:52 +00:00
obrien
18ff9f4f1b Import of Binutils from the FSF 2.12 branch.
(this fixes several linker problems and coredumps)
These bits are taken from the FSF anoncvs repo on 10-April-2002 13:24 Zulu
2002-04-12 19:33:52 +00:00
ru
27cb1b2c9f I don't know what the MAINTAINER means in src/ part of FreeBSD.
I'll still be overseeing the changes that go into natd(8) and
will maintain it the way I see it, non-preventing for the rest
of developers.

I will re-ask for the MAINTAINER bit if the ${MAINTAINER} gets
defined.
2002-04-12 19:11:09 +00:00