NetBSD/share/examples/secmodel
elad adf8d7aab2 Introduce KAUTH_REQ_NETWORK_SOCKET_OPEN, to check if opening a socket is
allowed. It takes three int * arguments indicating domain, type, and
protocol. Replace previous KAUTH_REQ_NETWORK_SOCKET_RAWSOCK with it (but
keep it still).

Places that used to explicitly check for privileged context now don't
need it anymore, so I replaced these with XXX comment indiacting it for
future reference.

Documented and updated examples as well.
2006-10-25 22:49:22 +00:00
..
example.h
files.example
README
secmodel_example.c Introduce KAUTH_REQ_NETWORK_SOCKET_OPEN, to check if opening a socket is 2006-10-25 22:49:22 +00:00

$NetBSD: README,v 1.1 2006/09/15 15:49:29 elad Exp $

These files can be used by developers interested in writing security models
for NetBSD from scratch.

They address both developing security models for in-tree integration or
distribution as LKMs.

Placed in the public domain.