Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys



Module Name:    src
Committed By:   martin
Date:           Fri Jan 13 19:14:13 UTC 2023

Modified Files:
        src/sys/net [netbsd-10]: if_wg.c
        src/sys/secmodel/suser [netbsd-10]: secmodel_suser.c
        src/sys/sys [netbsd-10]: kauth.h

Log Message:
Pull up following revision(s) (requested by jakllsch in ticket #49):

        sys/secmodel/suser/secmodel_suser.c: revision 1.57
        sys/sys/kauth.h: revision 1.89
        sys/net/if_wg.c: revision 1.72
        sys/net/if_wg.c: revision 1.73
        sys/net/if_wg.c: revision 1.74

Check for authorization for SIOCSDRVSPEC and SIOCGDRVSPEC ioctls for wg(4).
Addresses PR 57161.

wg(4): Allow non-root to retrieve information other than the private
key and the peer preshared key.

Add kauth(9) enums for wg(4) and add use them in suser secmodel.

Refines fix for PR 57161.

centralize the kauth ugliness.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.71.2.1 src/sys/net/if_wg.c
cvs rdiff -u -r1.55.20.1 -r1.55.20.2 src/sys/secmodel/suser/secmodel_suser.c
cvs rdiff -u -r1.87.4.1 -r1.87.4.2 src/sys/sys/kauth.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index