Commit Graph

188760 Commits

Author SHA1 Message Date
matt
eeda580952 Add missing <powerpc/FOO/spr.h> to a few files missed on the first pass.
Don't export <machine/spr.h> to userland, only <powerpc/spr.h>
2010-03-02 21:52:32 +00:00
pooka
b6d93fa026 For the nfs throttling kludge, test against v_tag == VT_NFS instead
of v_op (the latter imposes linkage).
2010-03-02 21:32:29 +00:00
pooka
d29401b8c0 Remove unnecessary #ifdef NFS. 2010-03-02 21:17:31 +00:00
pooka
e4fb143734 regen:
- remove nfssvc / fs_nfs.h / #ifdef NFS
- make getfh unconditional
2010-03-02 21:14:43 +00:00
pooka
808ba2d476 remove nfssvc emulation (or non-emulation) 2010-03-02 21:09:21 +00:00
darran
fe6ba50113 DTrace: Get DTrace to build on OS X platforms. 2010-03-02 21:08:36 +00:00
pooka
c20692bba4 Kill fs_nfs.h and #ifdef NFS by making getfh() support unconditional
and nfssvc unsupport unconditional.  nfs server was just a fancy
NOP anyway for all except Ultrix.  I know I'm boring but I couldn't
imagine why someone would want to run an Ultrix nfs server (and I
also doubt that it would work anymore with all the changes to fs
exporting etc).
2010-03-02 21:07:21 +00:00
skrll
9026066df1 Document new hp700 'frame' command. 2010-03-02 20:49:20 +00:00
darran
61fb3737eb DTrace: Add CTF generation to the make framework. Only enabled when
MKDTRACE=yes.
2010-03-02 20:49:18 +00:00
darran
5f2f3d9ce8 DTrace: add libelf, libdwarf, libctf, and CTF tools to the toolchain,
built when MKDTRACE=yes.
2010-03-02 20:47:01 +00:00
skrll
995e7575f1 Add a "mach frame" command to hppa ddb. 2010-03-02 20:40:15 +00:00
dyoung
355cdbdce9 Simplify interrupt (dis)establishment by two source transformations:
-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested with ath & atw units on a Soekris net4521.
2010-03-02 20:31:14 +00:00
darran
3e85fef9b3 DTrace: Add the sdt.h header to the set lists. 2010-03-02 20:04:16 +00:00
pooka
d1d083d372 fs_lfs.h is no longer necessary 2010-03-02 19:59:09 +00:00
pooka
7f245c149b regen: lfs megamaid syscalls -> MODULAR 2010-03-02 19:37:02 +00:00
pooka
5de34505ef load lfs syscalls in modload 2010-03-02 19:34:49 +00:00
pooka
773120876e Make lfs syscalls loadable. This nukes fs_lfs.h & #ifdef LFS.
(I don't mind if someone wants to go further and OBSOL them).
2010-03-02 19:34:26 +00:00
pooka
e867c34ab2 Make is possible to add extra output at the top of syscallargs.h.
Use this feature to stick sys/mount.h in there.
2010-03-02 19:33:12 +00:00
pooka
96798ffe71 /*
* XXX: Get extra reference to LFS vfsops.  This prevents unload,
 * but also prevents kernel panic due to text being unloaded
 * from below lfs_writerd.  When lfs_writerd can exit, remove
 * this!!!
 */
2010-03-02 19:30:34 +00:00
jruoho
4fcde464a0 Format string cosmetics (mainly from %d to %u). 2010-03-02 18:44:46 +00:00
pooka
dfe63e3e16 Remove the ufs_vnops.c hacks from the lfs module, since ffs (and
hence ufs) has been required by lfs for ages now.
2010-03-02 18:00:24 +00:00
pooka
1a66ba1950 Remove fs_mfs.h from users because it is now unnecessary and don't
generate fs_mfs.h anymore.
2010-03-02 17:28:08 +00:00
pooka
d6f18673d1 Make mfs_initminiroot() mandatory. Allows to remove #ifdef MFS. 2010-03-02 17:20:02 +00:00
dyoung
f1de56229c Re-zero the attach args before setting them up for a new call to
config_found_ia().  In this way we avoid passing an uninitialized
pcibus_attach_args.pba_pc that will cause problems, later.
2010-03-02 16:44:08 +00:00
pooka
4f49fb9915 Don't generate unused fs_thefs.h headers. 2010-03-02 16:43:48 +00:00
gdt
324332f31f Log successful and unsuccessful attempts to change passwords, via -l
or pam, to ease IT audit guideline compliance.  Patch from Richard
Hansen of BBN in private mail.

Proposed on tech-kern with positive comments, except a suggestion I
didn't implement:

A possible future enhancement is refraining from logging if the old
password is empty, as some people abort password changing that way.
However, it's not clear if this complies with most guidelines that
require password change logging, and at first glance that appears to
be a fairly difficult change.
2010-03-02 16:19:13 +00:00
pooka
cfd5efb415 regen for conditional lfs syscall removal 2010-03-02 16:09:10 +00:00
pooka
f1d702e017 -fs_lfs.h 2010-03-02 16:08:15 +00:00
pooka
1254f2d59e remove unused lfs compat stubs 2010-03-02 16:03:59 +00:00
pooka
faaaa3dedd -fs_lfs.h 2010-03-02 16:02:43 +00:00
pooka
a47bbe896e Remove lfs syscall support from compat. I can't really imagine
anyone wanting to run lfs megamaid as a e.g. FreeBSD binary.
Besides, the real action has been in fcntl() for >5 years now.
The only place where the compat syscalls might have made the tiniest
bit of sense was netbsd32, but they were unimplemented there.
2010-03-02 16:00:03 +00:00
pooka
a9b0264ca7 Nuke fs_lfs.h included for unknown reasons (if there was a reason
other than "accident", i hereby declare that reason invalid)
2010-03-02 15:46:19 +00:00
pooka
2e6110dc37 Remove last #ifdef FFS. Do this by making lfs include ffs.
Could use UFS_OPS, but:

  1) the lfs kernel module depends on full ffs already anway
  2) lfs is being split from ufs, so this will automatically
     go away soon
  3) chances of anyone wanting an lfs-only kernel are pretty slim
  4) i'm too lazy to figure out how to test ffs_snapgone() is
     still called properly if I change the call ;)
2010-03-02 15:18:22 +00:00
tsutsui
ecd28cfead A variable protostfree is only declared for M68040 or M68060 kernels,
so it should also be wrapped with #ifdef M68040/#endif in MD sources.

Fixes build error on SMALLRAM kernel, reported by hauke@.
2010-03-02 15:01:04 +00:00
pooka
2dfc1bdbed scortch ufs_vnops.c cargo cult headers 2010-03-02 14:45:55 +00:00
pooka
18c92f1166 fs_union.h is not used here anymore ... diudau 2010-03-02 14:23:39 +00:00
pooka
3f57313fc5 fs_ffs.h is no longer required (since the death of bufops / softdep) 2010-03-02 14:22:44 +00:00
roy
4b2d6106cf Use _ti_get_token instead of strsep when parsing termcap entries.
This allows us to handle \E\ as a valid sequence.
2010-03-02 14:11:11 +00:00
uebayasi
9cbe93a0cc Define i4b files in netisdn/files.i4b. 2010-03-02 13:27:27 +00:00
nakayama
e636e5680a Make kernel buildable without device ecadc. 2010-03-02 12:18:35 +00:00
pooka
5a03797ea6 While I like redundant computing, specifying each option just once
is generally enough.
2010-03-02 11:29:04 +00:00
martin
9e8ef1a77b Before destroying a autonegotiation callout, make sure it is quiet 2010-03-02 08:30:40 +00:00
mrg
ed186a47bf bump the size of the boot.fs, we bloated. 2010-03-02 08:05:48 +00:00
jruoho
7892d8618e Catch up with the changes to SSP on x86. 2010-03-02 07:26:47 +00:00
jruoho
2e269a8df5 Remove some /* comments */ in the example so that it will nicely fit into 80
columns.
2010-03-02 06:52:53 +00:00
jruoho
bb3d11e472 Reference bitstring(3). 2010-03-02 06:37:11 +00:00
jruoho
e45844d016 As per suggestions from mrg@, improve the lead paragraph and stress that
these macros are not recommended. Also remove the example as it feels a
little frivolous and takes too much space.
2010-03-02 06:20:03 +00:00
jruoho
9f37c55e22 Speak about typical instead of possible usage in the example. 2010-03-02 05:59:56 +00:00
darran
19c2a5114b DTrace: make sure we get a processorid_t definition (fix zfs module build). 2010-03-02 00:55:46 +00:00
darran
8a2ce716b0 DTrace: fix the dtps_provide_module definition. 2010-03-02 00:43:36 +00:00