Skip to content

Commit

Permalink
Enable kprobes, uprobes and fuse_bpf dependent driver modules
Browse files Browse the repository at this point in the history
STS testcase testSetMaliciousStream was failing with warning:
FuseDaemon: Rejected access to app-private dir on FUSE

Fix the issue by enabling kprobes, uprobes and fuse_bpf dependent drivers
modules. This patch is ported from base_aaos.

Tests Done: run sts-dynamic-full -m CtsSecurityTestCases -t
 android.security.cts.WallpaperManagerTest#testSetMaliciousStream

Tracked-On: OAM-118465
Signed-off-by: Shi, Qiming <qiming.shi@intel.com>
Signed-off-by: Salini Venate <salini.venate@intel.com>
  • Loading branch information
qshi5 authored and sysopenci committed Jul 22, 2024
1 parent 15999a8 commit f9c963b
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
# CONFIG_BPF_DYNPTR is not set
# CONFIG_BPF_PRELOAD is not set
# CONFIG_BPF_LSM is not set
# end of BPF subsystem

CONFIG_PREEMPT_BUILD=y
Expand Down Expand Up @@ -631,6 +632,7 @@ CONFIG_KPROBES=y
# CONFIG_JUMP_LABEL is not set
# CONFIG_STATIC_CALL_SELFTEST is not set
CONFIG_OPTPROBES=y
CONFIG_UPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_KRETPROBES=y
Expand Down Expand Up @@ -7640,8 +7642,12 @@ CONFIG_HWLAT_TRACER=y
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_KPROBE_EVENTS is not set
# CONFIG_UPROBE_EVENTS is not set
CONFIG_KPROBE_EVENTS=y
CONFIG_UPROBE_EVENTS=y
CONFIG_BPF_EVENTS=y
CONFIG_DYNAMIC_EVENTS=y
CONFIG_PROBE_EVENTS=y
# CONFIG_BPF_KPROBE_OVERRIDE is not set
# CONFIG_SYNTH_EVENTS is not set
# CONFIG_HIST_TRIGGERS is not set
# CONFIG_TRACE_EVENT_INJECT is not set
Expand All @@ -7652,6 +7658,7 @@ CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is not set
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set
# CONFIG_KPROBE_EVENT_GEN_TEST is not set
# CONFIG_RV is not set
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_SAMPLES is not set
Expand Down

0 comments on commit f9c963b

Please sign in to comment.