Commit Graph

139276 Commits

Author SHA1 Message Date
dsl
8c772bc707 Don't apply CDPATH if the the first component of the target is "." or "..".
Fixes PR/30973 and applies the principle of least surprise.
Update documentation to match (including date).
(matches behaviour of pdksh - if not it's documentation)
2005-08-20 21:07:42 +00:00
elad
39ce11e146 Pass lint and make this compile.
Also change bcopy, bzero -> memcpy, memset.
2005-08-20 20:52:52 +00:00
dsl
72723e24f6 Fix PR/31023 completely - the messages should not have been displayed at all. 2005-08-20 20:43:26 +00:00
abs
2ea92d2f7a Support booting from ffsv2 filesystems - thanks Simon Burge 2005-08-20 20:15:57 +00:00
abs
60d651f649 Include the ffsv2 filesystem ops. Necessary but not sufficient for booting
from an FFSv2 filesystem. Similar change tested on NetBSD-3
2005-08-20 20:09:25 +00:00
bouyer
cd1cc7810a Also properly check the alignement and boundary constraints. 2005-08-20 20:06:24 +00:00
dsl
2b3be83563 Add missing 'n', fixes install/31023 - from Zafer Aydogan 2005-08-20 19:49:07 +00:00
bouyer
0944c0fa9d Deal with the machine address space being non-contigous in bus_dmamem_alloc():
- Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to
  find the upper bound for our machine address space (and this can change
  when we swap pages with the hypervisor).
- implement _xen_bus_dmamem_alloc_range(), which will request a contigous
  set of pages to the hypervisor if the pages returned by uvm_pglistalloc()
  don't fit the constraints.
We can't deal with the low/high constraints yet, because Xen doesn't offer a
way to get pages in a specific ranges of addresses.

Based on patches from Dave Thompson (in private mail), with heavy hacking
by me.
2005-08-20 19:30:37 +00:00
bouyer
54ecd3d8a1 Implement xpq_queue_machphys_update(), which queues a request to
update the machine to physical table (to be used after a
MEMOP_increase_reservation).
2005-08-20 19:20:54 +00:00
bouyer
7ce7159ca0 More adjustements to deal with Xen's physical <=> machine addresses mappings:
- Allow _bus_dmamem_alloc_range to be provided from external source:
  Use a _PRIVATE_BUS_DMAMEM_ALLOC_RANGE macro, defined to
  _bus_dmamem_alloc_range by default.
- avail_end is the end of the physical address range. Define a macro
 _BUS_AVAIL_END (defined by default to avail_end) and use it instead.
2005-08-20 19:18:11 +00:00
skrll
680596d08e Add __RCSID. 2005-08-20 19:01:16 +00:00
elad
3dbf8d11de Not running lint on kernel code fooled me into thinking this was safe.
Don't compile SHA2 code until I resolve warnings.
2005-08-20 18:57:50 +00:00
tsutsui
54713c08ec Count jazzio timer interrupts by evcnt(9). 2005-08-20 17:58:49 +00:00
rpaulo
82bdaacb4f Adapted to the changes of grfinfo(1) MANSUBDIR (hp300). (thanks Klaus Klein) 2005-08-20 17:23:53 +00:00
rpaulo
6443bd996e grfinfo(1) is hp300 specific, so move the man page to the hp300 subdir. 2005-08-20 17:21:29 +00:00
rillig
9e7b9d2566 Partly reverted my last change. I had forgotten that off_t is a signed
data type.
2005-08-20 16:17:36 +00:00
elad
866f37de4e Add SHA2 hashing routines to userland.
At the moment there's only code for the init/transform/update/final
routines.

Man-page from OpenBSD.
2005-08-20 16:14:34 +00:00
elad
4bbe952358 Install sha2.h to /usr/include/crypto. 2005-08-20 15:42:03 +00:00
kent
868a42c866 fix a compilation problem on NetBSD/amd64 2005-08-20 15:02:36 +00:00
kent
ed574610ee fix compilatio problems on LP64 2005-08-20 15:00:27 +00:00
kent
2fd38e91a5 fix a compilation problem on LP64 2005-08-20 14:59:20 +00:00
kent
8dbae00531 fix compilation problem on LP64 2005-08-20 14:58:34 +00:00
kleink
e6c7296450 Add __{BEGIN,END}_DECLS wrapping. 2005-08-20 14:54:06 +00:00
yamt
5cb036f6e3 add wedge support to xbd and cgd. 2005-08-20 12:03:52 +00:00
yamt
bc505ef8dd use pseudo_disk_{init,attach,detach} where appropriate. 2005-08-20 12:01:04 +00:00
yamt
6f645a09cb introduce a variant of disk_attach/detach, for pseudo disks
which is opened by user before being attached.
2005-08-20 12:00:01 +00:00
rillig
7b9a62a31f Don't cast unsigned values to long long. They might overflow. 2005-08-20 09:03:29 +00:00
rillig
410ba033c5 Use exit(EXIT_FAILURE) instead of exit(1). 2005-08-20 08:58:57 +00:00
yamt
e55179f33a cast f_fileno to uint64_t to be more portable. 2005-08-20 05:25:16 +00:00
tsutsui
1d47271b63 options<space><tab> 2005-08-20 03:42:01 +00:00
manu
da8e7434f3 Update for ipsec-tools 0.6.1 2005-08-20 01:06:25 +00:00
manu
0b97cbeb71 Update to ipsec-tools 0.6.1 2005-08-20 00:57:06 +00:00
manu
96ae7759c9 Import ipsec-tools 0.6.1 2005-08-20 00:40:43 +00:00
rpaulo
b81a06d8eb Correct typo in comments found by Roland Illig. 2005-08-19 20:24:33 +00:00
skrll
ddf730e9d9 Fix RCSID. 2005-08-19 19:45:43 +00:00
bouyer
41b1abf49b Provide a PCI_MACHDEP_ENUMERATE_BUS to the MI pci system. We can't use
the generic pci_enumerate_bus() in Xen because the hypervisor may
hide the function 0, but give access to other functions of the same device
and pci_enumerate_bus() will stop if function 0 isn't available.
2005-08-19 17:17:53 +00:00
bouyer
90dd891d17 We can't free struct ahc_softc on NetBSD either, because it comes from
config(9). Fix a corruption on alldevs list when an ahc device fails to
initialise.
2005-08-19 17:08:59 +00:00
christos
b33f6da979 more 64 bit inode lossage. 2005-08-19 16:58:29 +00:00
bouyer
fa7d49200e Make PCI devices usable for non-domain0 kernels. Based on patches sent by
Ceri Storey to port-xen, with some additionnal changes by me:
- include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined
  instead of dom0ops
- Make various initialisations, and probe/attach pci busses based on NPCI
  instead of DOM0OPS
- in conf/files.xen, move xen-specific devices before non-xen specific devices
  so that the xen-specific match function is called first, to avoid false
  attachement from too liberal match function in non-xen code.
2005-08-19 16:06:12 +00:00
skrll
74929b7809 Add shutdown and power hooks. 2005-08-19 14:26:38 +00:00
yamt
e4ab81774d compat_30_sys_getdents: netbsd 1.2 -> 3.0 in comments/messages. 2005-08-19 13:17:37 +00:00
yamt
34dab5e58c compat_30_sys_getdents: don't leak kernel stack garbage to userland. 2005-08-19 13:16:56 +00:00
christos
7e4e283458 Two places to bump libc (from Kurt) 2005-08-19 13:07:56 +00:00
yamt
b247716cf3 as we now have 64bit ino_t, no need to truncate nfsv3 fileids. 2005-08-19 12:47:23 +00:00
christos
d0fa934dc3 More fallout from ino_t 64 bit changes (from Kurt) 2005-08-19 12:47:10 +00:00
christos
84653be1c5 mention 64 bit inodes here. 2005-08-19 12:33:24 +00:00
christos
8679451cd3 bump us to 3.99.8 (for 64 bit inode changes). Noted by Bernd Ernesti 2005-08-19 12:31:41 +00:00
elad
5f794fb20d Introduce veriexec_renamechk().
Rename policy:
  - Strict levels 0, 1: Log renames of monitored files.
  - Strict level 2: Prevent renames of monitored files.
  - Strict level 3: Prevent renames.
2005-08-19 12:30:02 +00:00
christos
2368c3b779 make ICMPPRINTFS work; from Liam Foy. 2005-08-19 12:29:18 +00:00
christos
21e4f1184e mention ICMPPRINTFS; from Liam Foy 2005-08-19 12:28:37 +00:00