// Allow no further files in /usr
{ "/usr/*", 0, 0, NULL, NULL, PAKFIRE_FHS_CHECK_MUSTNOTEXIST },
- // Allow no files in /usr/src except some kernel source
+ // Debug Sources
+ { "/usr/src/debug", S_IFDIR, 0755, "root", "root", 0 },
+ { "/usr/src/debug/*", S_IFDIR, 0755, "root", "root", 0 },
+ { "/usr/src/debug/**/*", S_IFREG, 0444, "root", "root", 0 },
+
+ // Kernel Sources
{ "/usr/src/kernels/**", 0, 0, "root", "root", 0 },
+
+ // Allow no more files in /usr/src
{ "/usr/src/**", 0, 0, NULL, NULL, PAKFIRE_FHS_CHECK_MUSTNOTEXIST },
// There cannot be any subdirectories in /usr/bin & /usr/sbin