Commit Graph

134026 Commits

Author SHA1 Message Date
chs 467487d274 use vm_map_{min,max}() instead of dereferencing the vm_map pointer directly.
define and use vm_map_set{min,max}() for modifying these values.
remove the {min,max}_offset aliases for these vm_map fields to be more
namespace-friendly.  PR 26475.
2005-02-11 02:12:03 +00:00
chs 9d5ffb80d3 remove redundant initialization of minaddr for uvm_km_suballoc(). 2005-02-11 02:09:39 +00:00
christos b35aef8d4b Default back pthread__concurrency to 1 until we fix the regression test
related to pthread_kill().
2005-02-10 23:42:37 +00:00
grant 37ca47b551 rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

	- when the pkg argument is path (absolute or relative) to a
	  binary pkg, pkg_info operates on it.
	- when no pkg argument is given, or the argument is not a
	  binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.
2005-02-10 22:52:31 +00:00
dsl 25579adfb4 Make ffs snapshots be enabled by 'option FFS_SNAPSHOT' 2005-02-10 22:23:19 +00:00
dsl 2f6f4269bd Add a stub file so that snapshot support can be compiled out.
Will allow INSTALL_TINY to fit back in its designated space.
Since the calling code doesn't allow a snapshot mount to fail, this code
will output a warning and delete any snapshots it finds.
This only happend on rw mounts - snapshots don't seem to be created
when mounting ro.
The whole way the snapshots gets mounted is a PITA anyway, the superblock
'last mounted' time should be used to validate that the fs hasn't been
mounted elsewhere.
2005-02-10 22:22:32 +00:00
drochner 342b8a4cf8 Recognize an obscure cpu feature flag bit "xTPR"
which indicates that Task Priority Messages might
be disabled. Not relevant for the kernel for now
(related to interrupt distribution on the APIC bus
afaict), but present on one of my boxes.
Being here, also recognise the future "Vanderpool"
extension.
2005-02-10 20:52:52 +00:00
wiz 509ef04282 Add entry for openpam, and note new 20050201 is out. 2005-02-10 19:28:59 +00:00
tnozaki 7aab8c378d considering huge character set(ucs, gb18030),
use not linear but binary search.
this change derrived from recent FreeBSD's rune.
2005-02-10 19:19:57 +00:00
tnozaki 476f0d92a1 fix typo in _DIAGASSERT 2005-02-10 19:03:51 +00:00
tnozaki af5bc0e0b7 add iso-2022-kr support to iconv. 2005-02-10 18:33:00 +00:00
tnozaki 9cc920cfc1 merge resent FreeBSD UTF-8 locale.
now support outside BMP area.
2005-02-10 18:12:42 +00:00
tnozaki fcff889a4d remove ko_KR.UTF-8.
this locale is alias for en_US.UTF-8 by locale.alias now.
2005-02-10 18:03:01 +00:00
jmc 4dca8bd51e Fix from PR#29290. Properly terminate the cpio_longopts struct so an unknown
option doesn't run off the end and core dump
2005-02-10 17:48:33 +00:00
jmc 9b1c35ec87 Fixes from PR#29289. Need linux_sg.c in here now as well 2005-02-10 17:37:35 +00:00
is 4119a9ec98 This is not a network - use be32toh etc. instead of ntohl... 2005-02-10 16:31:41 +00:00
tsutsui b611bd6446 Allocate struct todr_chip_handle in struct rtc_softc rather than
using MALLOC(9).
2005-02-10 16:07:38 +00:00
jmc d177a1d5bf Make the crunchgen generated makefile regen on each run 2005-02-10 16:03:34 +00:00
jmc 1bd5227b67 Make dependency checking for the pull-over make's actually work.
The make depend needs to be it's own separate make so it's done before the
main make runs. This also fixes issues w. -j breaking on 'depend <target'.

In addition, force the sub cross-over make to always run or otherwise it'll
never check dependencies once a valid foo.cro has been created.

Bump to 20050208
2005-02-10 16:03:04 +00:00
jmc dc984029fd White space nit 2005-02-10 16:00:38 +00:00
jmc 5f0e6eb14f Fix compilation issues for NO_PROGRESS 2005-02-10 16:00:28 +00:00
jmc c55ede16a2 Add NO_PROGRESS for -DSMALL 2005-02-10 16:00:06 +00:00
ws 5964df620b Increase max data size, now that the Xserver can grok it.
(It was the only program that couldn't.)
2005-02-10 10:42:04 +00:00
ws 056bceceaa On x86_64, drop use of mmap for the Xserver's own dynamic linker, because:
1. we don't use it on any other port, and
2. it's the sole reason which prevents us from upping the data limit.
2005-02-10 10:39:25 +00:00
simonb dec70f4a29 KNF, use NULL instead of (type *)0. 2005-02-10 06:56:55 +00:00
itojun 692c601c25 backout 1.54. heurestic code should never be used. if you experience DAD
failure, suspect your driver, not ND code.
2005-02-10 02:57:17 +00:00
christos 3a610280bb If $PTHREAD_CONCURRENCY is not set, set it to ncpu 2005-02-10 02:20:49 +00:00
christos 1b198d8f16 size_t should be cast'ed to unsigned long. 2005-02-09 23:42:30 +00:00
christos 199b39279a Factor out common string processing code eliminating static buffers,
making functions that should be static be static, and cleaning up
const usage. Added a guard against buffer overflow, but the domap function
is a bit too complicated for me to tackle right now. I will leave it
to the author; hi luke!
2005-02-09 23:17:27 +00:00
ws 5387f7217c Add support for large files (>2GB).
Like Linux, automagically convert old filesystem to use this,
if they are already at revision 1.
For revision 0, just punt (unlike Linux; makes me a bit too nervous.)

There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.

Reviewd by Manuel (bouyer@).
2005-02-09 23:02:10 +00:00
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