Commit Graph

570 Commits

Author SHA1 Message Date
rmind
0b635e7c1d NPF: implement dynamic handling of interface addresses (the kernel part). 2017-01-02 21:49:51 +00:00
christos
fd60c59b96 oops forgot to commit this one. 2016-12-28 13:50:55 +00:00
pgoyette
3d9d9fc2de Create a single combined module for spkr_pcppi and spkr_audio, and
build it for all architectures.

By doing this, we can handle pcppi, audio, or both attachments with
non-built-in modules.

XXX Still to do: the module currently cannot be unloaded, and the
XXX spkr device(s) currently cannot be detached.  (Really, two
XXX sides of the same problem.)
2016-12-15 06:48:14 +00:00
christos
e4bd8c59b9 delete spkr_synth module 2016-12-15 04:37:00 +00:00
nat
b2644509c2 Fix path to files.audio. 2016-12-12 13:31:13 +00:00
nat
c885b4911a Need to include audiobell.c 2016-12-10 05:09:10 +00:00
pgoyette
d77ef3c058 Ooopss, missed the Makefile 2016-12-10 00:40:27 +00:00
pgoyette
21a19d30ca Create a new module for the synthesized speaker(4).
XXX Device module autoload (invoked when the /dev/speaker is opened, and
XXX no driver exists) will not find this module.  On i386 and amd64, the
XXX autoload will find the spkr module (spkr0 at pcppi0) and that module
XXX will be autoloaded.  For other architectures, either include the
XXX "spkr0 at audio0" in your config file, or manually load this new
XXX spkr_synth module using modload(8).
2016-12-10 00:39:40 +00:00
christos
bbe824547d sync with latest. this should either be called spkr_pcppi or made to work
with both busses.
2016-12-09 06:12:03 +00:00
christos
658319f6a2 ditch ptree and use lpm 2016-12-09 02:41:09 +00:00
christos
2bfcd885c5 Add spkr_pcppi.c 2016-12-09 02:22:56 +00:00
nat
ae6f65cc33 Revert to previous. Add PCPPISPEAKER flag to fix build. 2016-12-08 23:22:18 +00:00
nat
3af52eea80 Fix building of the spkr module. The module now is the synthesized speaker.
Reported by joerg@
2016-12-08 21:42:42 +00:00
pgoyette
86b970f505 Build the newly-created bufq_* modules 2016-11-16 00:49:27 +00:00
riastradh
2903f566e2 Reorganize SRCS lists for libcompat, compat.kmod, sysv_ipc.kmod.
- Share lists between the libcompat and module makefiles.
- Include some omitted entries in compat.kmod:
  . if_43.c
  . kern_sa_60.c
  . kern_time_30.c
  . rndpseudo_50.c
  . rtsock_14.c
  . rtsock_50.c
  . rtsock_70.c
  . uipc_syscalls_40.c
  . uipc_syscalls_50.c
- Exclude a (harmless) spurious entry in sysv_ipc.kmod on LP64 systems:
  . kern_ipc_10.c

Should fix broken ifconfig on modular current kernels.

ok pgoyette
2016-11-03 04:26:58 +00:00
pgoyette
a60b99094c * Split sys/kern/sys_process.c into three parts:
1 - ptrace(2) syscall for native emulation
        2 - common ptrace(2) syscall code (shared with compat_netbsd32)
        3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2.  Both modules will be built-in to the
  kernel if "options PTRACE" is included in the config file (this is
  the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
  files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
  option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
    just add a procfs attribute to the sys/kern/sys_process.c file's
    entry in files.kern, and add PROCFS to the "#if defineds" for
    process_domem().  It's really confusing to have two different ways
    of requiring this file.
2016-11-02 00:11:59 +00:00
skrll
f2ef31cb48 PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel
Updated from the original patch in the PR by me.
2016-10-19 09:44:00 +00:00
skrll
01368dbcc2 Sort entries within conditional blocks 2016-10-15 12:38:03 +00:00
pgoyette
01b31fcf1e For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
2016-09-27 20:52:43 +00:00
pgoyette
fb351842ae Add module build infrastructure for ld and its attachments 2016-09-27 03:53:06 +00:00
christos
8962a97716 Add KTRACE 2016-09-17 02:45:24 +00:00
jdolecek
8eedc00a82 make it possible to load nvme(4) as module to ease testing; currently somewhat
non-optimal, since it includes the ld(4) code also and hence requires the
kernel config to have 'no ld'
2016-09-16 11:35:07 +00:00
pgoyette
06402e0a42 Move kern_ctf.c into the dtrace_fbt module (the only place it is used)
rather than including in kernels with KDTRACE_HOOKS defined.  Update
the dtrace_fbt module to depend on the zlib module.

Bump kernel version to avoid module mismatch.

Welcome to 7.99.38 !
2016-09-16 03:10:45 +00:00
pgoyette
9a575d933d Move tun.c into the module's own directory, since it is specific to the
module subsystem.
2016-09-10 03:26:10 +00:00
pgoyette
eb2b2a3e77 Add a dummy "tun" module, whose only job is to trigger an autoload of
required module "if_tun".  This allows access to /dev/tunN to autload
the require interface module.

XXX There's might be a better place/name for net/tun.c
2016-09-10 02:20:10 +00:00
knakahara
56d7b3a061 add required files to if_gif module. (unify to rump) 2016-08-18 11:41:58 +00:00
jdolecek
a2f72e0398 add ext2fs_xattr.c 2016-08-12 19:07:14 +00:00
christos
09ba5d0754 missed this one 2016-08-07 17:33:04 +00:00
christos
4b4b4456f8 add new modules 2016-08-07 14:27:38 +00:00
pgoyette
69aa6fadc2 For modular configurations, always build with PPPOE_TERM_UNKNOWN_SESSIONS
defined, and provide a sysctl variable for enabling/disabling the option.

Update man page accordingly.
2016-08-07 01:59:43 +00:00
pgoyette
5328fd5944 Modularize the pppoe driver 2016-08-06 23:46:30 +00:00
pgoyette
c075b7e43f Modularize the sppp_subr stuff so it can be shared by pppoe and lmc
drivers as they get modularized.
2016-08-06 22:03:45 +00:00
christos
d5f5d92177 Add modules for strip and slip 2016-08-06 12:44:03 +00:00
christos
e95690b155 rename the ppp module so that it autoloads. 2016-08-06 06:04:48 +00:00
pgoyette
e7e9717270 Modularize the ppp driver, and adjust dependencies of the compressor
modules.

For now, this is still included as a built-in module in GENERIC kernels.
2016-08-06 02:35:05 +00:00
scole
7ba6ca8143 PR port-ia64/51261
Use exec_elf64 modules for ia64
2016-08-05 17:12:13 +00:00
pgoyette
042c1d6ecd Add and enable a new module, slcompress
This is a prerequisite to modularizing the ppp pseudo-device
2016-08-04 23:53:47 +00:00
msaitoh
d21ffc75e5 - Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF
2016-07-14 04:00:45 +00:00
christos
26c7e22f4a GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD 2016-06-24 17:21:30 +00:00
christos
fcbbb16aaa avoid duplicate symbols. 2016-06-18 21:45:05 +00:00
ryoon
64125f9b55 Fix buld with clang, add warning option exceptions 2016-06-13 20:03:07 +00:00
pgoyette
bc957b588e New module for ipl (aka ipfilter). 2016-06-09 04:44:18 +00:00
pgoyette
532241d269 Create separate modules for i2c_bitbang and bpf_filter so these files
can be included in kernels which need them without also duplicating
them in other modules.  Removes the duplicate symbols I found which
prevented loading i2c and bpf modules after having fixed PR 45125.
2016-06-07 01:06:27 +00:00
christos
ce4ddb5149 ext4 extents support 2016-06-03 15:36:25 +00:00
salazar
7093afb253 fix double require bug 2016-05-21 12:39:32 +00:00
roy
bb67ec8f00 Add sc_pid to sockcred so that SOCK_DGRAM and LOCAL_CREDS socket option
can learn the process id of the AF_LOCAL sender.
Add compat glue for old structure.
2016-04-06 19:45:45 +00:00
skrll
62976e3600 Move linux_work.c and workqueue.h from sys/external/bsd/drm2 to
sys/external/common so that they can be used by others.

LGTM from riastradh@

These should really live outside sys/external, but that can be decided
later
2016-02-24 22:04:15 +00:00
mlelstv
bbd8666d0f Split case folding table into separate source file and add full
copyright and permission notice from http://www.unicode.org/copyright.html
2016-02-06 10:40:58 +00:00
christos
d6c122e06f earm (iyonix and zaurus) don't have cpu_counter.h 2016-01-25 21:56:27 +00:00
christos
5cd51c24fd spell empty. 2016-01-25 15:37:21 +00:00