tegge
b0e7279ba2
Don't check uninitialized memory for having the shell control character
...
value CTLARI since this might break expansion of arithmetic expressions.
Don't access memory below start of stackblock.
Problem analyzed by hunt@iprg.nokia.com , slightly different patch applied.
PR: 24443
Submitted by: hunt@iprg.nokia.com
2001-09-19 20:16:38 +00:00
tegge
0c39138a0b
BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative indexes.
...
Allow those to be used to properly quote characters in the shell
control character range.
2001-09-19 20:07:47 +00:00
tegge
221fff6437
Adjust some type checks to include CTLQUOTEMARK in the range of
...
shell control characters.
2001-09-19 19:58:09 +00:00
fenner
b56fb0e4dd
Don't try to dereference a kernel pointer in userland; use offsetof()
...
to get the right address.
This fixes kernel GDB after KSE2.
Reviewed by: jhb, jake
2001-09-19 18:42:19 +00:00
asmodai
0c48a25898
Solve our braindead sourcetree dependency on GCC in another way.
...
Discussed with: bde
2001-09-19 17:51:23 +00:00
ru
3486bb456a
Non-decimal ``skipto'' rule numbers are meaningless.
...
Noticed by: "Marc G. Fournier" <scrappy@hub.org>
MFC after: 3 days
2001-09-19 15:12:14 +00:00
rwatson
e2fc11e60b
o Clarification of securelevel_{ge,gt} comment.
...
Submitted by: dd
2001-09-19 14:09:13 +00:00
sobomax
ff08d3d5ce
Fix abuse of vtagtype. In addition, after this the linux programs will be
...
able correctly distinguish ext2fs from the ufs filesystem (previously ext2fs
was indistinguishable from the ufs).
Reviewed by: phk, marcel
2001-09-19 12:35:51 +00:00
dfr
42cbd97a48
Implement time().
2001-09-19 12:12:12 +00:00
sobomax
7942a4e1d2
Various fixes and improvements:
...
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
that require this package" check that packages in question is actually
installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
packages specified at command line, but all packages that depend on
specified packages as well.
MFC after: 2 weeks
2001-09-19 08:06:48 +00:00
ru
de49b78266
In FreeBSD, -Z is reserved for zgrep(1), and only
...
a long version of the --null option is supported.
PR: gnu/30644
2001-09-19 07:22:30 +00:00
peter
188db05e74
Reserve an extra 16 bytes in case we have to grow the trapframe into
...
a vm86trapframe for switching to vm86 [unlikely] while exiting.
I lost this when doing the pcb move that went in with the KSE commit.
Reviewed by: jake
2001-09-19 05:44:12 +00:00
peter
bc1d170941
Fix a mistake I made with the pcb movement relative to the stack in the
...
KSE patch. We need to leave the 16 bytes here for enabling the trapframe
to be converted to a vm86trapframe if we're switching *to* a vm86 context.
2001-09-19 05:34:12 +00:00
peter
b2b74d8725
Add missing ; in last commit
...
Pointy-hat-to: jhb
2001-09-19 02:53:59 +00:00
scottl
172cd6f894
Add a quirk entry for the Sony CLIE memory stick device. This will become
...
useful once ATAPI support is turned on in the umass driver.
2001-09-19 00:35:09 +00:00
peter
efbced43f3
The vfs.nfs.bufpackets sysctl is in the client, not the server. Move it
...
to the client section. Turn off nfsiod, it no longer exists (now just
kthreads). I need revisit nfsiod so that we have an argument passthrough.
2001-09-19 00:22:26 +00:00
brooks
3e9d16ac4c
Make stf a clonable device.
...
Yes this really is rather silly and the implementation is overkill given
that you are only allowed one of them, but NetBSD implements cloning on
this device and it's a less cluttered example of cloning then most.
2001-09-19 00:13:00 +00:00
peter
09d2b9e4f7
Sigh, Last minute pre-merge typo. (missing quotes)
2001-09-18 23:49:33 +00:00
peter
68a5e33921
Userland part of nfs client/server split and cleanup.
2001-09-18 23:34:44 +00:00
peter
240c3fa09f
Regenerate
2001-09-18 23:33:33 +00:00
peter
85182a8d78
Cleanup and split of nfs client and server code.
...
This builds on the top of several repo-copies.
2001-09-18 23:32:09 +00:00
jhb
abe9cf18de
Use a 'p' variable instead of repetitively indirecting td->td_proc for
...
signal things that are still per-process and won't be per-thread.
2001-09-18 23:27:06 +00:00
julian
195d6aa050
Remove accidentally included debug stuff.
...
Noticed by: jhb
2001-09-18 22:52:42 +00:00
n_hibma
8b2456392d
Regen.
2001-09-18 22:30:02 +00:00
n_hibma
90fcad2a4d
Update the header of the file with a comment on how to regenerate
...
the usbdevs* file correctly.
Suggested by: phantom
2001-09-18 22:27:41 +00:00
jhb
b03804752e
Don't initialize proc0's mutex twice. It is already done earlier on in the
...
MD startup code.
2001-09-18 22:09:47 +00:00
jhb
8b42ca6665
GC obsolete cruft from this file.
2001-09-18 21:53:25 +00:00
jhb
814bb9623f
Whitespace fixes.
2001-09-18 21:52:15 +00:00
jhb
0fc343f1d8
- If we ever do the per-cpu KTR stuff, the index won't be volatile as it
...
will be private to each CPU.
- Re-style(9) the globaldata structures. There really needs to be a MI
struct pcpu that has a MD struct mdpcpu member at some point.
2001-09-18 21:46:26 +00:00
jhb
681e830ed0
- Fix a missed idleproc -> idlethread conversion.
...
- Remove redundany fpucurproc (fpucurthread already existed)
2001-09-18 21:37:09 +00:00
jhb
8f1f6bfe73
If we have a p variable pointing to td->td_proc already, use it instead of
...
needlessly repeating the indirection in several places. Half of the places
used td->td_proc, and half used p. They are now consistent with each other
and all use p.
2001-09-18 21:20:58 +00:00
jhb
5ee8d7e543
Whitespace fixes.
2001-09-18 21:05:04 +00:00
rwatson
bc78942658
o Introduce two new calls, securelevel_gt() and securelevel_ge(), which
...
abstract the securelevel implementation details from the checking
code. The call in -CURRENT accepts a struct ucred--in -STABLE, it
will accept struct proc. This facilitates the upcoming commit of
per-jail securelevel support. The calls will also generate a
kernel printf if the calls are made with NULL ucred/proc pointers:
generally speaking, there are few instances of this, and they should
be fixed.
o Update p_candebug() to use securelevel_gt(); future updates to the
remainder of the kernel tree will be committed soon.
Obtained from: TrustedBSD Project
2001-09-18 21:03:53 +00:00
jlemon
f00876504b
Have the driver announce its rxcsum capabilities.
2001-09-18 20:19:28 +00:00
jlemon
ead81b8e59
Split hwcsum into rxcsum and txcsum components.
2001-09-18 20:13:48 +00:00
jlemon
28193b25ab
Split HWCSUM into two components: RX and TX, for the benefit of drivers
...
which can only do checksum offloading in one direction.
2001-09-18 20:13:03 +00:00
rwatson
892ce726ef
o Remove redundant securelevel/pid1 check in procfs_rw() -- this
...
protection is enforced at the invidual method layer using
p_candebug().
Obtained from: TrustedBSD Project
2001-09-18 19:53:10 +00:00
mp
b34d7ff9aa
Set debug information on the process being traced, not the current (debugger)
...
process. This should allow gdb to function correctly on post-KSE kernels.
2001-09-18 19:06:11 +00:00
jlemon
aab4748586
Have the driver to announce what capabilitis it supports.
2001-09-18 18:53:41 +00:00
jlemon
f1f8ab43b1
Have the driver announce what capabilities it supports. These are
...
currently not under user control.
2001-09-18 18:41:39 +00:00
jlemon
26343eb1f5
Have the driver advertise that it is capable of hardware checksums, and
...
allow the user to control the setting. (checksums are enabled by default)
2001-09-18 18:40:22 +00:00
imp
26847c44d7
nfs_strategy calls nfs_asyncio with td as NULL. So add a bandaid that
...
will pass NULL as the struct proc when td is NULL. This has stopped
crashing on my machine.
Note: The passing of NULL may be bogus, but I'll let others fix that
problem.
Reviewed by: jhb
2001-09-18 18:37:52 +00:00
bmah
c93cede993
Drop maintainership.
2001-09-18 17:58:10 +00:00
bmah
e0b6c6ba36
Support the use of ${PORTSDIR} to find a ports tree INDEX file in
...
an other-than-default location.
PR: bin/30350
Submitted by: "NINOMIYA Hideyuki <NINOMIYA Hideyuki" <nin@jp.FreeBSD.org>
MFC after: 3 days
2001-09-18 17:56:44 +00:00
jlemon
8fc7300a95
Teach ifconfig about the new interface capability words.
2001-09-18 17:43:30 +00:00
jlemon
0d05508a93
Add SIO{CG}IFCAP entries. Fix formatting of some other entries.
2001-09-18 17:42:25 +00:00
jlemon
131e3ad4ce
Add two fields to the ifnet structure indicating what extra capabilities
...
a network device has, and which ones are enabled.
2001-09-18 17:41:42 +00:00
bmah
7f8575ebc7
Try to work off backlog of CURRENT release notes: vm.zeroidle_enable,
...
an(4)/ancontrol(8) -M monitor mode, burncd(8) -d, cat(1) UNIX-domain
sockets.
2001-09-18 15:25:00 +00:00
dfr
915ac6e38a
Add ia64_get_cpuid().
2001-09-18 15:21:18 +00:00
cg
b86875b944
when setting blocksize, fix blockcount to 2 to reduce latency with smaller
...
block sizes.
2001-09-18 15:19:44 +00:00