Brian Feldman
5f7d68b87e
Make /etc/rc and /etc/rc.shutdown executable, and execute them directly
...
instead of via /bin/sh. They already have the proper #! lines, and
there is no new failure case (if execution fails, it still attempts to
execute indirectly via /bin/sh). This is necessary for SEBSD to function
properly.
2002-12-17 20:45:07 +00:00
Brian Feldman
1ad1ab1434
/home/green/tmp/cvsSFosXg
2002-12-17 20:39:38 +00:00
Tom Rhodes
304199ce19
The code uses trapsasync, however the manual page uses asynctraps. Fix the
...
manual page to reflect the code.
PR: 45820
Submitted by: Marco Molteni <molter@tin.it>
Discussed with: tjr
2002-12-17 20:27:48 +00:00
Poul-Henning Kamp
120a6d842a
Remove unused lockcnt variable.
...
Approved by: mckusick
2002-12-17 20:23:51 +00:00
David E. O'Brien
222d79cde9
Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.
...
Approved by: rwatson
2002-12-17 20:19:37 +00:00
David E. O'Brien
1e2d480ce8
Strip out any .comment ELF sections from crunchgen'ed binaries.
2002-12-17 20:18:13 +00:00
Alan Cox
d8e7c54e1e
Hold the page queues lock when performing vm_page_flag_set().
2002-12-17 19:55:28 +00:00
Eric Melville
77b653d95d
Add IPP (Internet Printing Protocol) and remove blank lines.
...
Obtained from: IANA
Sponsored by: Apple
2002-12-17 19:42:07 +00:00
Poul-Henning Kamp
5cb6703e29
Straighten out a compound if() to improve readability marginally.
2002-12-17 19:33:44 +00:00
Poul-Henning Kamp
4d99ef8d55
Indent properly.
2002-12-17 19:31:26 +00:00
Poul-Henning Kamp
126c7e29fe
Remove unused variable cn_devfsdev.
2002-12-17 19:30:50 +00:00
Poul-Henning Kamp
11aee0b4b0
Remove unused and incorrectly maintained variable "in_interfaces"
2002-12-17 19:30:04 +00:00
Poul-Henning Kamp
62998d5574
A couple of stylistic improvements.
2002-12-17 19:16:10 +00:00
Poul-Henning Kamp
d321df47c3
Don't cast a pointer to (intptr_t) and then on to (int) when we cannot
...
be sure that (int) is large enough. Instead cast only to (intptr_t) and
cast the switch/case values to (intptr_t) as well.
2002-12-17 19:13:03 +00:00
Tony Finch
162ae3ae7f
Document trap EXIT
and trap SIGNAME
.
2002-12-17 17:31:44 +00:00
Søren Schmidt
4d08a40b15
Try to fix the problem with burncd blank not seeing the end of
...
the blank operation.
2002-12-17 16:27:45 +00:00
Søren Schmidt
5dd009808a
This should be the way PC98 ATA disks are seen geometry wise.
...
Should go into 5_0_RELEASE as well.
2002-12-17 16:26:22 +00:00
Poul-Henning Kamp
dd0879a966
Don't mangle geometry for pc98, this will happen in the ata driver.
2002-12-17 15:50:51 +00:00
Poul-Henning Kamp
31cf2a3636
Unspam some experimental changes which should not have been committed.
2002-12-17 13:37:08 +00:00
Poul-Henning Kamp
50bd488da3
Remember to hold topology lock when we change things.
...
Spotted by: kuriyama
2002-12-17 09:44:10 +00:00
Poul-Henning Kamp
2cc40a38a8
Constify the dumpconf() function.
2002-12-17 07:22:48 +00:00
Nate Lawson
a7e5261e30
Add PERIPH and XPT debug options to camcontrol. This makes all CAM debug
...
options tunable from userland.
Approved by: ken
MFC after: 3 days
2002-12-17 06:05:21 +00:00
Nate Lawson
e38cfb14fe
Back out 1.19 to rethink approach
...
Requested by: julian@
2002-12-17 05:55:36 +00:00
Sean Chittenden
85994822df
Check the return status of chdir() when using the -C option.
...
Reviewed by: bright && jmallet
MFC after: 1 day
2002-12-17 04:26:22 +00:00
Marcel Moolenaar
1aa83d38bc
Check that the dump device is large enough. Otherwise we could
...
end up with a dump offset that's smaller than the start of the
dump device and either clobber data in preceding partitions or
try to write beyond the end of the medium (unsigned wrap).
Implement legacy behaviour to never write to the first 64KB as
that is where metadata (ie disklabels) may reside.
2002-12-17 02:51:56 +00:00
Nate Lawson
1df5f8294f
Automatically issue a "continue" along with the "detach" command. This
...
fixes the problem of cleanly restarting a target after entering gdb mode.
Reviewed by: archie@
2002-12-17 01:32:11 +00:00
Matthew Dillon
967adce8df
Fix syntax in last commit.
2002-12-17 00:24:48 +00:00
Maxime Henrion
e7c30f884f
Convert the xl(4) driver to the busdma API. This should make
...
it possible to use this driver under ia64, sparc64 (though
there may be endianness issues with this one) and other archs.
Tested on: i386, alpha (gallatin)
2002-12-17 00:08:49 +00:00
Julian Elischer
4706b50a40
Reformat last change
...
Requested by: nate@
2002-12-16 23:25:12 +00:00
Poul-Henning Kamp
a1d5f791fa
Get rid of g_slice_addslice() and use g_slice_config() instead.
...
Tested with: i386 + src/tools/regression/geom
2002-12-16 23:08:48 +00:00
Julian Elischer
6b8fc51d28
Don't dump core into a partition that is too small for it.
...
If we do, we usually wrote backwareds into the proceeding partititon
which is usually the root partition.
2002-12-16 23:04:54 +00:00
Poul-Henning Kamp
adb72768ea
Goto WARNS 5 with assorted changes.
2002-12-16 22:35:56 +00:00
Poul-Henning Kamp
0f9d3dba37
Constification and some s/int/u_int/ changes.
2002-12-16 22:33:27 +00:00
Martin Blapp
fb4c80619a
Change the name for the local unix-socket based protocol
...
from "unix" back to "local". Add some compat stuff so both
ways work for some time.
Reviewed by: phk
Approved by: imp (UPDATING)
Requested by: iedowse, lukem@netbsd.org
2002-12-16 22:24:26 +00:00
Poul-Henning Kamp
6f8a5ea200
Update this one too.
2002-12-16 22:01:25 +00:00
Poul-Henning Kamp
a99aa4c483
Get the test-suite into sync with the kernel again.
2002-12-16 21:39:16 +00:00
Tom Rhodes
660887c9f9
Spelling: s/ingrity/integrity/
2002-12-16 21:13:25 +00:00
Matthew Dillon
fa7dd9c5bc
Change the way ELF coredumps are handled. Instead of unconditionally
...
skipping read-only pages, which can result in valuable non-text-related
data not getting dumped, the ELF loader and the dynamic loader now mark
read-only text pages NOCORE and the coredump code only checks (primarily) for
complete inaccessibility of the page or NOCORE being set.
Certain applications which map large amounts of read-only data will
produce much larger cores. A new sysctl has been added,
debug.elf_legacy_coredump, which will revert to the old behavior.
This commit represents collaborative work by all parties involved.
The PR contains a program demonstrating the problem.
PR: kern/45994
Submitted by: "Peter Edwards" <pmedwards@eircom.net>, Archie Cobbs <archie@dellroad.org>
Reviewed by: jdp, dillon
MFC after: 7 days
2002-12-16 19:24:43 +00:00
Olivier Houchard
47770b6fd5
Add the trm(4) driver.
...
MFC after: 1 day
2002-12-16 18:47:37 +00:00
Olivier Houchard
d7aea33300
Import of a minimalist trm(4) man page.
...
Anyone with more man pages knowledge than I have should feel free to complete
it.
2002-12-16 18:44:24 +00:00
Tom Rhodes
5461a2d2d0
The HP DAT 40 tape drive should be able to handle variable block sizes.
...
But for some reason the block size is different when a different type of
tape is placed in the drive. This commit fixes that.
PR: 46209
Submitted by: Alex Wang <alex@alexwang.com>
Approved by: mjacob
2002-12-16 17:40:17 +00:00
Robert Drehmel
0adb6d7a49
Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined in
...
_KERNEL scope from "src/sys/sys/mchain.h".
Replace each occurrence of the above in _KERNEL scope with the
appropriate macro from the set of hto(be|le)(16|32|64) and
(be|le)toh(16|32|64) from "src/sys/sys/endian.h".
Tested by: tjr
Requested by: comment marked with XXX
2002-12-16 16:20:06 +00:00
Dag-Erling Smørgrav
72bb5dc656
This commit was generated by cvs2svn to compensate for changes in r107937,
...
which included commits to RCS files with non-trunk default branches.
2002-12-16 15:28:05 +00:00
Dag-Erling Smørgrav
648199192c
Vendor import of OpenPAM Cyclamen.
2002-12-16 15:28:05 +00:00
Dag-Erling Smørgrav
32f0c0487b
Merge in most non-style differences from Andrew Korty's pam_ssh 1.7.
2002-12-16 14:33:18 +00:00
Dag-Erling Smørgrav
f0d91fb7ea
Ignore IEEE1284 descriptors when looking for bidirectional mode. We don't
...
really know how to talk IEEE1284, so attaching to that interface makes the
printer unusable.
Approved by: joe
2002-12-16 14:22:59 +00:00
Dag-Erling Smørgrav
6ed6884063
MFNetBSD: 1.52-1.55
...
Mostly OpenBSD-related changes. Remove newline from panic string. Remove
an unreachable break statement.
2002-12-16 14:20:26 +00:00
Hiroki Sato
d0d7793e29
Catch up with the English version:
...
1.115 -> 1.119 hardware/common/dev.sgml
2002-12-16 14:11:42 +00:00
Maxim Konovalov
a61f5b202b
o getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. It
...
does not hurt anything because uipc_ctloutput() does not check
sopt->sopt_level.
Pointed out by: ru
MFC after: 1 week
2002-12-16 13:42:13 +00:00
Olivier Houchard
1dbb2b5ac0
Fix the panic that occurs when kldunloading trm by using the correct
...
prototype for trm_detach and freeing all resources.
While I'm there, handle better errors in trm_attach and remove the
PCI_BASE_ADDR0 definition, since it's what PCIR_MAPS is used for.
MFC after: 3 days
2002-12-16 13:38:22 +00:00