ache
6e290545e1
Stupid error from my side in prev. commit: || -> &&
2001-08-23 18:02:29 +00:00
jhb
e84a42cf98
Clear the sx_xholder pointer when downgrading an exclusive lock.
2001-08-23 17:57:37 +00:00
ache
a480a6737d
vn_stat(): if va_size (u_quad_t) > OFF_MAX, return EOVERFLOW, don't copy it
...
blindly to st_size
2001-08-23 17:56:48 +00:00
ache
640689c04d
Copy yet one check for SEEK_END overflow
2001-08-23 17:12:42 +00:00
ache
661af8586d
Add yet one check for SEEK_END overflow
2001-08-23 17:09:23 +00:00
ache
1dabef8845
lseek: fix check for vattr.va_size overflow. Check suggested by bde simple not
...
works with unsigned types.
2001-08-23 17:01:25 +00:00
ache
86b9c46400
Implement l_len<0 per POSIX check.
...
Check for valid l_whence too.
2001-08-23 16:13:59 +00:00
ache
f8ef40b0cb
Copy my newly introduced l_len<0 'oops' fix from kern_lockf.c
2001-08-23 16:06:14 +00:00
ache
82c8a757fa
Oops, fix my broken handling of new l_len<0 case
2001-08-23 16:00:27 +00:00
ache
e932bf8680
Copy POSIX l_len<0 handling from kern_lockf.c
2001-08-23 15:44:24 +00:00
ache
ffadfe832f
Originally BSD return EINVAL for l_len < 0, but now POSIX wants it too,
...
so implement POSIX l_len < 0 handling.
2001-08-23 15:40:30 +00:00
ache
f79f77e5f9
Cosmetique: correct English in comments
...
non-cosmetique: add missing break; - original code was broken here
2001-08-23 14:45:31 +00:00
ache
abde972f28
Cosmetique: correct English in comments
...
Pointed by: bde
2001-08-23 14:41:39 +00:00
ache
34f1fd94b4
Even better move: suppose that server is able to handle SEEK_END,
...
so check arguments for all but not SEEK_END case, leaving SEEK_END
handling for server
2001-08-23 14:21:26 +00:00
ache
aafa17c550
Apparently SEEK_END locking not supported by NFS. Previous variant
...
returns EINVAL in that case, change it to EOPNOTSUPP.
2001-08-23 14:09:16 +00:00
ache
29e4dde471
Cosmetique: more <sys/*> into one group, separate include families by
...
blank line
2001-08-23 13:51:17 +00:00
ache
2879f02ee4
Move <machine/*> after <sys/*>
...
Pointed by: bde
2001-08-23 13:27:58 +00:00
ache
a5d8e8c957
Move <machine/*> after <sys/*>
...
Pointed by: bde
2001-08-23 13:21:17 +00:00
ache
428194d97d
Move <machine/*> after <sys/*>
...
Add missing fdrop() before EOVERFLOW
Pointed by: bde
2001-08-23 13:19:32 +00:00
cg
f53d43761e
the feederchain builder is currently broken for recording channels. disable
...
it until it is fixed. this limits recording to native formats and speeds
only.
2001-08-23 12:27:27 +00:00
cg
a77fa3901d
handle bogus values passed to SOUND_PCM_WRITE_CHANNELS/SNDCTL_DSP_CHANNELS
...
ioctls better- if 0 is passed, return the current setting. if 1 or 2 are
passed, behave accordingly. treat values >2 as 2.
PR: kern/29964
2001-08-23 12:21:12 +00:00
cg
f92a958097
make the 4dwave nx chip work
...
Submitted by: Philippe Anel <xigh@noos.fr>
2001-08-23 12:02:29 +00:00
cg
ebfee899aa
MFS: make SNDCTL_DSP_SETTRIGGER work
2001-08-23 11:58:38 +00:00
cg
14ef1eed0d
MFS: allow multiple opens of mixer devices
2001-08-23 11:56:07 +00:00
cg
2cfb90cc8d
many changes:
...
* add new channels to the end of the list so channels used in order of
addition
* de-globalise definition of struct snddev_info and provide accessor
functions where necessary.
* move the $FreeBSD$ tag in each .c file into a macro and allow the
/dev/sndstat handler to display these when set to maximum verbosity to aid
debugging.
* allow each device to register its own sndstat handler to reduce the amount
of groping sndstat must do in foreign structs.
2001-08-23 11:30:52 +00:00
ache
9b50a3bc04
adv. lock:
...
copy EOVERFLOW handling code from main variant
fix type of 'size' arg
2001-08-23 08:54:22 +00:00
ache
e955b0b735
adv. lock:
...
detect off_t overflow _before_ it occurse and return EOVERFLOW instead of
EINVAL
2001-08-23 08:20:21 +00:00
ache
1905060cac
Detect off_t EOVERFLOW of start/end offsets calculations for adv. lock,
...
as POSIX require.
2001-08-23 07:42:40 +00:00
nsayer
fef684f9f8
Oops. The new pci_ids array should be static.
2001-08-23 03:06:16 +00:00
peter
e702307f45
Fix a #endif misplacement in 1.231 due to misapplied patch
...
Pointy hat to: peter
2001-08-23 01:50:31 +00:00
peter
fdba1bd8ed
Fix a comment error that was fixed in the pc98 version. hw.maxmem is
...
really hw.physmem.
2001-08-23 01:49:12 +00:00
peter
546d8cf46c
Merge i386/machdep.c rev 1.474: dont overextend %cs. (finally, it doesn't
...
conflict with unmerged changes)
2001-08-23 01:47:26 +00:00
peter
5c215a9c87
Merge i386/machdep.c rev 1.469: whitespace changes to fit 80 columns
...
Forgotten by: jhb
2001-08-23 01:46:23 +00:00
peter
62914c539b
Merge i386/machdep.c rev 1.468: make breakpoint/trace interrupt instead
...
of trap gates
Forgotten by: bde
2001-08-23 01:43:38 +00:00
peter
8e8addf424
Merge 386/machdep.c rev 1.467: fix bugs/miscalculations
...
Forgotten by: iwasaki
2001-08-23 01:42:21 +00:00
peter
0e5d70abed
Identical to i386/machdep.c rev 1.473: move submap initialization to MI.
2001-08-23 01:36:54 +00:00
peter
be26ed33a4
Merge i386/machdep.c rev 1.472: Fix bug in physmem_est and maxbcache
...
calculation
Forgotten by: dillon
2001-08-23 01:34:35 +00:00
peter
baeea019ed
Merge i386/machdep.c rev 1.470. Limit KVM for buffer cache etc.
...
Forgotten by: dillon
2001-08-23 01:30:51 +00:00
peter
c5420ad0cd
Dont add UPAGES to the %cs segment limit. There is nothing there except
...
page tables.
2001-08-23 01:25:21 +00:00
peter
ae0e5e244b
Do not printf when we get called as a result of a pci shared interrupt,
...
and add a comment to that effect.
2001-08-23 01:16:10 +00:00
peter
8d577cb279
Revert part of the last commit, as suggested by Nick. This is expected,
...
it is part of the way PCI shared interrupts work.
2001-08-23 01:12:35 +00:00
peter
06f57e01ae
Dont compile in SSE fxsave/fxrstor instructions if CPU_ENABLE_SSE isn't
...
active.
2001-08-23 01:03:56 +00:00
nsayer
2c80ec8e4a
Add support for the Netgear MA301 PCI adapter for the MA401.
...
It appears that a number of PrismII card vendors seem to be doing the
same thing (that is, using the same PCI bridge chip) to support PCI,
but each with their own vendor/product ID. So rather than cut-n-paste
another if statement into the probe routine, it's probably better to
provide support for a table. Adding new devices will be a lot easier
that way.
2001-08-23 00:57:40 +00:00
tmm
b2b2e0d452
Regenerate from syscalls.master using the new makesyscalls.sh revision.
2001-08-22 23:27:20 +00:00
tmm
fd3e5ce275
Add padding before each element of the syscall argument structures in
...
sysproto.h in addition to the existing padding afterwards.
This is needed to support big-endian architectures like sparc64.
Reviewed by: bde
Tested on alpha by: jhb
2001-08-22 23:22:47 +00:00
alex
5fe82c17fe
Fix a simple typo I just happened to find.
2001-08-22 19:12:24 +00:00
dillon
f658586bd8
Remove the code that limited the buffer_map to 1/2 the size of the
...
kernel_map. maxbcache takes care of this now and the 1/2 limit can
interfere with testing.
Suggested by: bde
2001-08-22 18:10:37 +00:00
iwasaki
f098630938
Move CR4.PGE enabling code after paging is enabled via CR0.PG based on
...
the description (2.5. CONTROL REGISTERS) of Intel developer's manual at:
ftp://download.intel.com/design/PentiumII/manuals/24319202.pdf
Reviewed by: peter, bde, tlambert2@mindspring.com
Pointed-out by: "Shin'ya Kumabuchi" <kumabu@t3.rim.or.jp>
MFC after: 1 week
2001-08-22 15:41:43 +00:00
peter
dd00777ae1
OK, now I am scared of pxeldr. It had /boot/loader appended onto
...
the end of it and decoded the headers.
Submitted by: jhb
2001-08-22 08:02:01 +00:00
peter
564eab1574
Make these depend on the usb module so they can use its symbols if they
...
are loaded as seperate .ko files
2001-08-22 05:33:57 +00:00