函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kobject_uevent.c Create Date:2022-07-27 07:12:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:uevent_net_rcv_skb

函数原型:static int uevent_net_rcv_skb(struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
struct nlmsghdr *nlh
struct netlink_ext_ack *extack
730  如果非消息有效载荷则返回:负EINVAL
738  net等于sock_net(sk)
739  如果非netlink_ns_capable(skb, Owning user namespace , Allow setting zone reclaim policy )则
740  Always use this macro, this allows later putting the* message into a separate section or such for things* like translation or listing all possible messages.* Currently string formatting is not supported (due* to the lack of an output buffer.)(extack, "missing CAP_SYS_ADMIN capability")
741  返回:负EPERM
744  mutex_lock( & This lock protects uevent_seqnum and uevent_sock_list )
745  ret等于uevent_net_broadcast(sk, skb, extack)
746  mutex_unlock( & This lock protects uevent_seqnum and uevent_sock_list )
748  返回:ret