Commit Graph

133996 Commits

Author SHA1 Message Date
ws d53c382dbf Add support for large files (>2GB).
Allow conversion of old filesystems to use this,
if they are already at revision 1.

There probably should be an option to turn revision 0 to revision 1.

Reviewed (in part) by Manuel (bouyer@).
2005-02-09 22:55:45 +00:00
jdolecek 98eec0d015 bump size of some arrays 2005-02-09 22:14:13 +00:00
kleink fd5cb0acea A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
  fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
  uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
dsl a7126d6435 Only pass -Wtraditional to cpp for lint -t ...
Stops warnings about pre-processor constructs like #elif - which there is
no point detecting now that we've changed much of the code to require an
ANSI C compiler.
2005-02-09 21:24:48 +00:00
kleink 23cad56e0c Use strtoimax(), incidentally removing the only libc-internal use of
strtoq().
2005-02-09 19:32:36 +00:00
christos e816a03a29 Bring back the head versions. Apparently the problem is a pkgsrc issue
unrelated to strings.
2005-02-09 18:15:16 +00:00
drochner f2a3f79f1c work around a prototype conflict by including ioctl.h
before we redefile ioctl()
2005-02-09 18:02:53 +00:00
christos 7651651a23 Don't de-reference a NULL ktd on error. Fix from enami, thanks. 2005-02-09 16:15:16 +00:00
cube 8066f529e3 Fix typo reported by Patrick Welche on current-users. 2005-02-09 16:13:40 +00:00
hannken 8bb5af4d2e Fss device only checks read access to snapshot vode. On snapshot creation
check we are either super-user or owner of the snapshot vnode.
2005-02-09 16:05:29 +00:00
hannken 78f7fe0941 - Unlock backing store vnode in case of error.
- 32 -> sizeof()*NBBY
2005-02-09 15:12:19 +00:00
xtraeme 831d2b827b Kill __P(), use ANSI function declarations. 2005-02-09 14:31:29 +00:00
xtraeme f0121f1f1b Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-09 14:21:37 +00:00
xtraeme 39707ce809 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-09 14:09:46 +00:00
xtraeme a8d83732cf Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-09 13:57:57 +00:00
kleink 4d58969864 Declare rs_initialized static. 2005-02-09 12:09:08 +00:00
he f29d7ec0d8 One can't portably print a size_t with an %u format directive.
Since this might be in the kernel, cast to unsigned int before printing.
Fixes build problem for amd64 (and presumably also our other LP64 ports).
2005-02-09 08:21:27 +00:00
he c05368e398 Make the declaration of oip in fr_send_ip() conditional on INET,
since it's use is also conditional on that preprocessor macro.
2005-02-09 08:19:24 +00:00
martti 534d9de60b Added -DINET 2005-02-09 06:41:01 +00:00
xtraeme 0b95ea2d66 WARNS=3. 2005-02-09 06:26:13 +00:00
xtraeme f7f1785232 Kill __P(), use ANSI function declarations, constify; WARNS=3.
Reviewed by mrg@.
2005-02-09 05:51:38 +00:00
fvdl 6851058ed5 if 0 out the parts of the code that allocated VM space per CPU for GDTs.
Seperate GDTs are not used on amd64 because it doesn't need any seperate
descriptors per CPU.
2005-02-08 09:02:01 +00:00
fvdl af5309b07c Change the 'sz' variable in bounds_check_* to int64_t to avoid overflows
when a very large blocknumber is passed in.
2005-02-08 08:56:21 +00:00
he 44315eaaa0 Remove a now-extraneous right parenthesis, after de-__P'ing. 2005-02-08 08:36:22 +00:00
yamt a8acd82f94 update a comment; malloc doesn't use uvm_kernacc anymore. 2005-02-08 08:22:37 +00:00
martti fdf846c8d1 REMOVED 2005-02-08 07:20:11 +00:00
martti a023cb1d19 Upgraded IPFilter to 4.1.5 2005-02-08 07:01:52 +00:00
martti 4d6a62d250 Import IPFilter 4.1.5 2005-02-08 06:52:59 +00:00
yamt 7245b8aa0a remove a mysterious printf(" complete\n"). 2005-02-08 05:52:31 +00:00
briggs fb9f110c8c Use aprint_*() instead of printf() at attach time. 2005-02-08 05:16:17 +00:00
simonb 9cbc979889 Bring closer to reality. 2005-02-07 12:26:56 +00:00
yamt 9fe116ce3a uvm_fault: fix integer overflow so that MADV_SEQUENTIAL
can work on large files.
2005-02-07 11:57:38 +00:00
augustss ebb1c32c20 Never deliver HID data to subdrivers if the length is wrong. 2005-02-07 08:54:42 +00:00
jmc ee72647bf0 Re-order includes so bcopy->memcpy macro redef doesn't cause prototype errors
on older gcc compilers (like gcc2 that vax is using)
2005-02-07 06:50:42 +00:00
christos 122f93c73b Revert everything to 2005-02-03 until the code is properly tested. Building
kde3 breaks with the head code.
2005-02-07 05:22:51 +00:00
wiz ae20c95c70 MKHTML defaults to no; fix documentation (which claimed it defaults to yes). 2005-02-07 01:38:44 +00:00
wiz 309e4e8291 End <font> tag with </font>. From Greg A. Woods in private mail.
Remove </font> before </body> since there is no corresponding <font>.
2005-02-07 01:23:02 +00:00
wiz 21e8d99658 Fix Fx handling; closes my PR 29235.
Will probably also need an additional fix like Nx and Ox do (see PR 29236).
2005-02-07 01:13:18 +00:00
wiz e2d4a3ff6c Add simple An handling. Modified version of a patch by Greg A. Woods
in private mail.  Closes my PR 29241.
2005-02-07 01:11:14 +00:00
christos a9fed9480a Allow 32K instead of 1K of section headers. Solaris opera binary has 15K
section headers. We only allocate memory for those headers on compat_linux
and compat_ibcs2 while we probe, and although 32K is not such a big number,
we could fix the code in those two places to read section-by-section instead
of all the sections at once as it does now, if we really felt like it.
2005-02-07 00:12:49 +00:00
christos 4cf9bb2fc2 Change an if/panic statement to a KASSERT and disable a chatty printf. 2005-02-06 23:57:29 +00:00
dsl afc59ef61f mmap normal files in 1MB chunks.
Due to a bug in mmap() the address space isn't counted against ulimit
until the page is faulted in - so mmapping a large file suceeds, but
cmp SIGSEGVs when it runs out of address space.
Also I don't believe that the madvise( MAP_SEQUENTIAL) has the desired
effect, and mmaping a large file is probably very bad for the UBC.
2005-02-06 21:19:46 +00:00
dsl 6ffe77ddd2 Taking (out) the __P 2005-02-06 20:50:34 +00:00
dsl e77d2c6bcd Change first arg of printsub() for 'char' to 'int' so that it builds again.
This matches the binary interface from before if was de-__Peed (or at least
that of K&R C).
In any case having arguments (and return values) of char and short isn't
especially sensible.
2005-02-06 20:39:35 +00:00
pk d1a1682842 turbosparc_cache_enable: record the external cache size for informational
puposes.
2005-02-06 20:22:15 +00:00
pk 237a0c2d85 Update tcp_trace() prototype to match implementation. 2005-02-06 20:13:09 +00:00
christos dbbaa0dafa PR/29248: Geoff C. Wing: memchr broken after latest commit.
Apply fix submitted by jtc: The problem was that his regression tests
never checked for characters with the high bit set. Change movl to movzbl
where it was not done yet. In addition strrchr.S missed a jump to Lzero.
2005-02-06 18:36:32 +00:00
martin 1bc16b6a61 Add uhci. 2005-02-06 18:27:41 +00:00
agc f255b51ddc Another fall-out from the de-__Ping round. 2005-02-06 18:00:30 +00:00
tron de397c1aee Fix build errors caused by de-__P()--ing "libtelnet". 2005-02-06 17:51:40 +00:00