Commit Graph

73214 Commits

Author SHA1 Message Date
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
des
5ad72fa86b This commit was generated by cvs2svn to compensate for changes in r94532,
which included commits to RCS files with non-trunk default branches.
2002-04-12 18:31:28 +00:00
des
5b1e560369 Linux-PAM compatibility improvements (perforce change 9623)
Sponsored by:	DARPA, NAI Labs
2002-04-12 18:31:28 +00:00
trhodes
69120ac485 restore(8) manual page does not explain rrestore.
PR:		34234
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-04-12 18:31:09 +00:00
ue
53c29c17d7 MFbed: translation updates
errata/article.sgml:			internal fixes
hardware/alpha/proc-alpha.sgml:		MFen 1.39, entity fixes
hardware/common/dev.sgml:		MFen 1.77-1.80
hardware/sparc64/proc-sparc64.sgml:	MFen 1.4
installation/common/install.sgml:	MFen 1.13-1.14
readme/article.sgml:			MFen 1.17, formatting fixes
relnotes/common/new.sgml:		MFen 1.303-1.317
2002-04-12 18:26:14 +00:00
ru
f89c7d2445 Revert last change, to be revisited later. 2002-04-12 16:50:52 +00:00
davidc
ad1eafb6f0 Remove a duplicate description of the type parameter for mtx_init.
Noticed by: scottl
2002-04-12 16:32:38 +00:00
ru
8ed4d7e8dd Back out second part of the previous change. While this was
indeed a good change, I shouldn't have made it after testing
with the -DNOCLEAN buildworld.  There are far too many users
of this misfeature under sys/boot/.  I will reapply the change
after I fix these.

This change has been tested with the clean buildworld.
2002-04-12 16:25:13 +00:00
des
a51f09d3d4 Add etc/pam.d. 2002-04-12 16:22:58 +00:00
charnier
ead5386a3c Un.Ar makefile. The add of .Ar was part of my last commit.
Asked by:	ru
2002-04-12 16:05:53 +00:00
mike
c3c6b2e7be Include <sys/cdefs.h> for definition of __BSD_VISIBLE.
Pointy hat to:	mike
2002-04-12 15:56:45 +00:00
des
0e80f55d44 Back out previous backout. It seems I was right to begin with, and DSA is
preferrable to RSA (not least because the SECSH draft standard requires
DSA while RSA is only recommended).
2002-04-12 15:52:10 +00:00
ru
5f45c246ce Unbreak this as well.
At the extra bonus of fixing the contents of the .depend file.

Not really my day.
2002-04-12 15:49:30 +00:00
sos
1e8f208d95 Add a couble more Promise chip ID's. 2002-04-12 14:10:19 +00:00
charnier
a67f50f015 Reorder #include. Cast arg #2 of lseek to an off_t when constant. No need to
test if failsafe memory allocation fails, it can't. perror -> warn. Use
failsafe memory allocation provided.

Use .Pa and .Ar. Uppercase (first letter) programname after dot.
2002-04-12 13:23:33 +00:00
charnier
2ae20464b1 Make `make WARNS=3' succeed, notably, use %d to printf daddr_t value.
Use `.Nm Ns .' instead of `.Nm .' Add FBSDID. Do not put spaces inside []
in usage string.
2002-04-12 13:16:04 +00:00
charnier
d2aba719d3 Document that only superuser can use -c option. Add FBSDID. Make use of uid_t
to silent lint. fprintf -> err conversion. Add some FALLTHROUGH and NOTREACHED
comment to silent lint.
2002-04-12 13:11:42 +00:00
charnier
eddee89041 Add FBSDID. Do not put spaces inside [] in usage string. Test memory allocation
return code. Correct and update C example in man page. Uppercase program name
(.Nm) after a dot.
2002-04-12 13:08:00 +00:00
ru
2bdf833956 Temporarily unconnect "doscmd" from build until I can fix
its broken Makefile.  The breakage is now fatal after the
bsd.prog.mk,v 1.109 change.
2002-04-12 11:22:44 +00:00
ru
f94502c94d Fixed the fatal breakage I introduced in the last commit.
Make the defined(SRCS) case similar to the !defined(SRCS)
case - only define ${PROG}: ${OBJS} if the ${PROG} target
does not exist.  This has only one precedence in the entire
source tree, usr.bin/doscmd, and its Makefile is horribly
broken.  I will temporarily unconnect it from build until
I'm working on the fix.
2002-04-12 11:21:09 +00:00
ru
f6dc026cb3 Removed the cruft that became cruft after rev. 1.4.
Fixed CLEANFILES.
2002-04-12 11:12:37 +00:00
ru
ef11b271d4 Don't add -lstdc++ to LDADD, just let c++(1) link C++ programs.
Record the dependency on ${LIBSTDCPLUSPLUS} similar to ${LIBC}.

Suggested by:	imp, obrien, peter
2002-04-12 08:17:24 +00:00
dfr
4ad9ee6d64 Initialise ar.cflg, which contains the IA-32 registers cr0 and cr4. Since
all IA-32 processes use the same values for cr0 and cr4, we initialise
them at system startup.
2002-04-12 07:43:35 +00:00
dfr
4c3866790d Print extra information in printtrap() if the interrupted state was for
an IA-32 process. Don't sign extend arguments in ia32_syscall - its not
normally going to be useful (e.g. pointers need to be zero extended).
2002-04-12 07:41:16 +00:00
marcel
3ad64aee88 Fix definition of va_start: We don't need to take the address of
va_list. It's a builtin type. gcc 3.1 doesn't care either way,
but gcc 3.2 is more picky and doesn't like the former.
2002-04-12 06:50:51 +00:00
davidc
a7b85370e3 Add entries for selrecord.9. 2002-04-12 06:19:34 +00:00
imp
32e30a86f9 Forgot to commit this when I committed the rest of the hostap stuff. 2002-04-12 06:19:18 +00:00