Skip to content
Snippets Groups Projects
Commit fc328c86 authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Paul Moore
Browse files

selinux: refactor code to return ERR_PTR in selinux_netlbl_sock_genattr


Refactor the code in selinux_netlbl_sock_genattr to return ERR_PTR
when an error occurs.

Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent da2d4130
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment