Commit Graph

4402 Commits

Author SHA1 Message Date
bouyer d9210c2405 Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
2011-03-24 17:05:39 +00:00
phx f376dd1d49 Added missing devices: usb, sysmon, altq 2011-03-20 12:40:58 +00:00
nonaka 40ea0d961b added ld0 for SD/MMC. 2011-03-20 03:00:56 +00:00
pooka 0d3ccf3fed tests/fs/zfs 2011-03-10 20:03:40 +00:00
pooka 9eacb1b321 rumpnet tests 2011-03-10 14:11:18 +00:00
jmmv a3fddfa529 Enable the build of tmux and add the necessary directory and file entries. 2011-03-10 13:16:57 +00:00
pooka d1535ddeaf shmif_dumpbus tests 2011-03-10 11:16:03 +00:00
joerg aad599979d Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
2011-03-09 23:10:05 +00:00
jmcneill 0cce2c7d9b put a : in an otherwise empty function, makes this script work with bash 2011-03-07 23:21:13 +00:00
mrg 722355d60d install xorg-server.m4 at the request of jmcneill. 2011-03-06 22:15:29 +00:00
bouyer 063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
christos 6f0af47a9f too much quoting. pointed by anon ymous 2011-03-02 17:00:28 +00:00
phx 1b9ef66f08 Revert the major number for satmgr(4) back to 100 and allocate it from
majors.powerpc, as suggested by matt@.
2011-03-01 09:17:06 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
phx a1b66a73cd Changed satmgr(4) device major number from 100 to 144, which is reserved
for local/vendor use according to src/sys/conf/majors. This prevents
problems when the shared PowerPC device majors list gets another entry.
2011-02-26 09:52:16 +00:00
pooka f89c56e204 new testdirs 2011-02-24 10:29:04 +00:00
christos 555418b829 fix wrong path. Pointed by Anon Ymous 2011-02-20 19:23:19 +00:00
christos ab765c5256 missing directory 2011-02-20 16:23:59 +00:00
matt 3c68128777 Build different kernel when mips64e[bl] 2011-02-20 08:27:32 +00:00
christos 63a9799e3a Add the libsaslc example dir. 2011-02-20 02:16:05 +00:00
pooka 051ff4a0eb hfs 2011-02-18 13:08:41 +00:00
jmcneill a58d526ab8 Add rc.d script to make sure the system fontconfig cache is up to date. 2011-02-18 00:42:20 +00:00
uebayasi 51495ed0e7 Install "obsolete" files only when necessary. 2011-02-16 16:22:13 +00:00
uebayasi 0fe7ea2a0f Generate MAKEDEV only when really necessary. Write dependency correctly. 2011-02-16 16:20:06 +00:00
uebayasi d47c36d993 To install 0-sized files, check if the destination already has one.
This avoids unnecessary updates (== timestamp changes in METALOG).
2011-02-16 15:52:51 +00:00
matt 9767c9385f Add missing / 2011-02-10 19:17:35 +00:00
matt ad579a7d9b Add debugdirs for o32 and 64 2011-02-10 19:12:44 +00:00
obache a0925f0154 remove obsolete "sieve 2000/tcp" entry. PR#42426. 2011-02-10 13:39:32 +00:00
jym d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00
pooka cf0dbcff8b more testies 2011-02-09 14:34:42 +00:00
pooka deba567af1 oh no, more tests 2011-02-08 10:13:13 +00:00
pooka c221725e98 librumphijack build infra 2011-02-06 18:47:55 +00:00
tsutsui b04b7da893 Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.
- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
2011-02-06 18:26:51 +00:00
pooka 6e2c74cec3 + tests/usr.bin
+ tests/usr.bin/rump_server
2011-02-03 15:39:50 +00:00
rmind 07ac07d35f NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@ will finish it.
- Add more documentation.
- Various fixes.
2011-02-02 02:20:24 +00:00
jym 2ba7d66f55 Typo fix. 2011-02-01 21:28:43 +00:00
pooka 84a1daa21a add sandpoint dirs for man chapter 4, they seem to be required now 2011-01-26 15:00:56 +00:00
pooka 5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
jym d2834deaa5 Build miniroot.kmod installation module for amd64. Hook GENERIC
with it.

See http://mail-index.netbsd.org/port-i386/2011/01/14/msg002247.html
2011-01-18 00:22:56 +00:00
pooka 0625d22c3c h_server is back, now testier than ever 2011-01-14 13:24:45 +00:00
haad 7532abd112 Use chown now when it's available without /usr mounted. 2011-01-13 22:30:09 +00:00
pgoyette 809681d76f Sets-list and mtree dance for t_inet_network 2011-01-13 13:54:23 +00:00
kefren e0adf296c4 add ldpd rc script 2011-01-13 10:55:19 +00:00
pgoyette 1de58405f0 sets-list and mtree dance for moving t_mktime & t_strptime 2011-01-13 00:16:34 +00:00
pgoyette 893f5724c6 Hook up the getaddrinfo test in its new location 2011-01-12 02:59:16 +00:00
pgoyette f923271858 sets-list dance for getaddrinfo test 2011-01-11 16:31:32 +00:00
pooka f6b3a097e6 +tests/net/net 2011-01-11 10:55:27 +00:00
njoly 0938ffa1c1 Add lib/libc/sys test dirs. 2011-01-10 17:17:36 +00:00
pgoyette 99902ed6a7 sets-list dance for atf version of regex test 2011-01-08 18:11:21 +00:00
haad 2dc8282a58 Use /rescue/chown not chown from /usr/sbin which might not be available in
time of running this script.

XXX. Why is chown in /usr/sbin ? it should be moved to /sbin
2011-01-08 16:16:51 +00:00