Closed as not planned
Description
Feature or enhancement
Proposal:
This issue suggests adding new netlink constants
They are usually used in the proto
parameter of the socket.
e.g.
/* Kernel swap userspace event, such as device hotplugging */
socket(AF_NETLINK, SOCK_RAW, NETLINK_KOBJECT_UEVENT)
/* iSCSI protocal */
socket(AF_NETLINK, SOCK_RAW, NETLINK_ISCSI)
/* socket diagnostics, used to query status words */
socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)
/* used to interact with audit subsystem */
socket(AF_NETLINK, SOCK_RAW, NETLINK_AUDIT)
/* NETLINK_SOCK_DIAG's packaging*/
socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG)
/* SCSI device interaction related, such as status words, events */
socket(AF_NETLINK, SOCK_RAW, NETLINK_SCSITRANSPORT)
/* used to interact with the security-enhanced subsystem */
socket(AF_NETLINK, SOCK_RAW, NETLINK_SELINUX);
ref:
https://github.com/torvalds/linux/blob/master/include/uapi/linux/netlink.h
I'll submitte a PR.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response