git: wg: Remove the unused 'sc_ucred' field and related code

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:31 PST 2024


commit 804295c225c16ee2f11726d871b3257a67992b69
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Nov 28 09:16:51 2023 +0800

    wg: Remove the unused 'sc_ucred' field and related code
    
    This was used in FreeBSD to control the permissions of an WG interface
    in an VNET, in order to achieve something similar to Linux's network
    namespace.
    
    However, DragonFly doesn't yet support this feature, so the 'sc_ucred'
    field becomes unused and thus can be removed.  It's easy to get it back
    when we're ready to implement this feature in the future.

Summary of changes:
 sys/net/wg/if_wg.c | 23 -----------------------
 1 file changed, 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/804295c225c16ee2f11726d871b3257a67992b69


-- 
DragonFly BSD source repository


More information about the Commits mailing list