File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,7 @@ func DefaultProfile() *Seccomp {
616616 Names : []string {
617617 "bpf" ,
618618 "lookup_dcookie" ,
619+ "perf_event_open" ,
619620 "quotactl" ,
620621 "quotactl_fd" ,
621622 "setdomainname" ,
@@ -631,7 +632,6 @@ func DefaultProfile() *Seccomp {
631632 {
632633 Names : []string {
633634 "lookup_dcookie" ,
634- "perf_event_open" ,
635635 "quotactl" ,
636636 "quotactl_fd" ,
637637 "setdomainname" ,
@@ -927,7 +927,7 @@ func DefaultProfile() *Seccomp {
927927 ErrnoRet : & eperm ,
928928 Args : []* Arg {},
929929 Excludes : Filter {
930- Caps : []string {"CAP_SYS_ADMIN" , "CAP_BPF " },
930+ Caps : []string {"CAP_SYS_ADMIN" , "CAP_PERFMON " },
931931 },
932932 },
933933 {
Original file line number Diff line number Diff line change 693693 "names" : [
694694 " bpf" ,
695695 " lookup_dcookie" ,
696+ " perf_event_open" ,
696697 " quotactl" ,
697698 " quotactl_fd" ,
698699 " setdomainname" ,
712713 {
713714 "names" : [
714715 " lookup_dcookie" ,
715- " perf_event_open" ,
716716 " quotactl" ,
717717 " quotactl_fd" ,
718718 " setdomainname" ,
11051105 "excludes" : {
11061106 "caps" : [
11071107 " CAP_SYS_ADMIN" ,
1108- " CAP_BPF "
1108+ " CAP_PERFMON "
11091109 ]
11101110 },
11111111 "errnoRet" : 1 ,
You can’t perform that action at this time.
0 commit comments