Skip to content

Commit

Permalink
Label /usr/lib/node_modules_22/npm/bin with bin_t
Browse files Browse the repository at this point in the history
This is a follow-up to the previous commit 80ae5a3
("Label /usr/lib/node_modules/npm/bin with bin_t) as nodejs v22 uses
a different base path.

Resolves: RHEL-53124
  • Loading branch information
zpytela committed Oct 25, 2024
1 parent fd1d996 commit d365adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/kernel/corecommands.fc
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ ifdef(`distro_gentoo',`
/usr/lib/news/bin(/.*)? gen_context(system_u:object_r:bin_t,s0)
/usr/lib/NetworkManager/nm\-.* -- gen_context(system_u:object_r:bin_t,s0)
/usr/lib/node_modules/npm/bin(/.*)? gen_context(system_u:object_r:bin_t,s0)
/usr/lib/node_modules_22/npm/bin(/.*)? gen_context(system_u:object_r:bin_t,s0)
/usr/lib/nspluginwrapper/np.* gen_context(system_u:object_r:bin_t,s0)
/usr/lib/ocf(/.*)? gen_context(system_u:object_r:bin_t,s0)
/usr/lib/portage/bin(/.*)? gen_context(system_u:object_r:bin_t,s0)
Expand Down

0 comments on commit d365adf

Please sign in to comment.