Commit Graph

776 Commits

Author SHA1 Message Date
christos
9aa2a9c323 Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
thorpej
ad4306e8db Include netbsd32_futex.c in the module. 2020-05-02 22:19:47 +00:00
christos
226be24a67 s/&&/&/ and also return POLLRDNORM (pointed out by joerg@) 2020-05-01 21:42:34 +00:00
christos
7fa5b1d2e9 remove debugging stuff accidentally committed. 2020-04-30 10:55:32 +00:00
mrg
0a33e04ee4 include sys/lwp.h and fix the build. 2020-04-30 07:07:22 +00:00
christos
b902ab58a2 New kernel example module written by Ayushi Sharma 2020-04-30 00:48:10 +00:00
maya
65c9ca437f Turn off compat drm.
XXX issue security advisory
2020-04-19 17:40:49 +00:00
christos
0c792cd1aa Extended attribute support for ffsv2, from FreeBSD. 2020-04-18 19:18:33 +00:00
htodd
ee948d74b4 Remove ufs_wapbl.c from Makefile. 2020-04-12 01:39:57 +00:00
kamil
e6494e6f4f Switch to type generic PRIu macros
Fixes build on i386.
2020-04-04 23:22:12 +00:00
kamil
068c592bb4 Add new example kernel module: current_time
Submitted by Apurva Nandan.
2020-04-04 21:15:04 +00:00
jdolecek
1e03bcd0cf remove SMBFS and nsmb(4) - kernel part
it's unmaintained and supports only obsolete SMB1
2020-04-04 15:43:21 +00:00
kamil
85335799e7 Fix CVS Id 2020-04-01 13:07:32 +00:00
kamil
c4f12fb2cb Avoid comparison between signed and unsigned integer
Cast PAGE_SIZE to size_t.
2020-04-01 11:45:53 +00:00
kamil
2c306a0e81 Import a new example kernel module fopsmapper
fopsmapper - basic implementation of mmap with fileops fo_mmap

Submitted by Aditya Vardhan Padala.
2020-04-01 01:57:20 +00:00
pgoyette
4b5fc12da6 Split out the quota code from the rest of compat_netbsd32 module. This
allows loading of compat_netbsd32 on kernels that don't have ``options
QUOTA'' enabled.
2020-03-12 15:02:29 +00:00
skrll
fcbc11fb45 Fixup the evbarm PCI modules 2020-03-11 08:31:08 +00:00
christos
8c22ab9cb1 disable a.out on aarch64 2020-03-05 15:58:33 +00:00
skrll
ba008dc590 Disable hifn again 2020-02-29 16:25:37 +00:00
skrll
b12b7ef3a8 Group some PCI only modules together and only build them on a subset of
platforms.  The list is not complete.
2020-02-29 11:03:44 +00:00
yamaguchi
7b177b731a Make ixl(4) be able to build as a module 2020-02-27 06:30:55 +00:00
riastradh
32792a7e45 Carry new CWARNFLAGS over to module reachover makefiles.
Forgot these modules existed!
2020-02-14 09:35:52 +00:00
riastradh
82eab16613 cyclic.kmod needs -Wno-sign-compare for aarch64 CPU_INFO_FOREACH.
Provisional workaround; feel free to fix.
2020-02-12 06:36:19 +00:00
jmcneill
428130a8e6 Retire azalia(4). 2020-02-09 16:06:17 +00:00
pgoyette
987836cb65 Improve wording 2020-02-07 19:22:21 +00:00
kamil
920eeb12bb Document what does ping_block. 2020-02-06 22:52:25 +00:00
pgoyette
5448349461 Use ENOTTY as error for an unrecognized ioctl() code, rather than
"magic number" 1.


ok kamil@
2020-02-05 14:10:46 +00:00
kamil
9ecc7056f0 Import new example kernel module ping_block
Subbmitted by Nisarg Joshi.
2020-02-05 13:23:42 +00:00
kamil
67a548a800 Align major numbers in example modules with sys/conf/majors
Patch submitted by: Aditya Vardhan Padala (silv3r)
2020-01-30 07:58:33 +00:00
pgoyette
9d7a921fe1 Split the module glue out from the rest of opencrypto/ocryptodev to
make rump happy.

Rump doesn't have compat modules (the compat code is included in the
relevant librump*.so), so there's no module compat_50 listed in
link_set_modules, and thus ocryptodev's MODULE(...) can't "require"
it.

This fixes the problem of "built-in module compat_50 not found" when
starting up rump_allserver (or rump_server with -l rumpdev_opencrypto).

XXX This does not resolve the long-standing "crypto: unable to
XXX register devsw, error 17" message noted at line 78 of
XXX sys/rump/dev/lib/libopencrypto/opencrypto_component.c
2020-01-27 17:09:17 +00:00
pgoyette
f779cfc4d9 Use correct pseudo-device for opencrypto module 2020-01-27 15:12:48 +00:00
pgoyette
09a5fcaf68 Split the compat_50 module into two, separating the QUOTA-related
stuff from the rest of the module.  This allows loading of the
(main) compat_50 module on kernels that don't include ``options
QUOTA''.

Welcome to 9.99.40 !

Addresses PR kern/54875
2020-01-21 02:37:16 +00:00
riastradh
08a157de6e Remove filemon(4).
Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings.  You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table.  (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)
2020-01-19 20:41:17 +00:00
thorpej
c1d9ec8d89 Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
2020-01-19 01:25:03 +00:00
pgoyette
458c343b5c One more vestige. 2020-01-01 19:36:27 +00:00
ryo
5707202b82 Add module build for aq(4) 2020-01-01 10:13:16 +00:00
maxv
87107185b5 Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
maxv
e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
tkusumi
84d4520665 dm: Enable dm-error and dm-zero target
Add these two targets to dm.kmod.
These are generally available in Linux and DragonFlyBSD,
so enable them in NetBSD as well.
2019-12-16 14:26:23 +00:00
ad
8faaa814a5 Use MPSAFE callouts. 2019-12-14 15:36:08 +00:00
yamaguchi
a5e8635231 Ported driver for Intel Ethernet 700 series
reviewed by msaitoh and knakahara
2019-12-10 12:08:52 +00:00
martin
307174c660 Add syscall_linux back for other arm architectures (accidently removed
in previous)
2019-12-04 10:12:47 +00:00
jmcneill
37d677e093 dtrace: add support for aarch64 2019-12-03 22:10:56 +00:00
pgoyette
1d577fe379 Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation.  Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !
2019-11-20 19:37:51 +00:00
joerg
76c7fc5f6b Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
pgoyette
adfb392104 Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.

XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
2019-10-28 16:03:55 +00:00
maya
087d862b47 Disable filemon.
It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.
2019-10-28 13:19:50 +00:00
ozaki-r
b2358a5409 Implement a front-end driver of virtio-9p called vio9p
In conjunction with mount_9p, it enables a NetBSD system running as a VM guest
to mount an exported filesystem by the host via virtio-9p.  It exports a 9p
end-point of virtio-9p via a character device file for mount_9p.

Reviewed by yamaguchi@
2019-10-28 02:56:40 +00:00
christos
16b55730f4 Elide function pointer cast errors 2019-10-13 22:30:52 +00:00
mrg
de11d87641 introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00