SECILC(8)
π NAME π
okay so bestie, meet secilc. short for SELinux Common Intermediate Language Compiler β yes that's a mouthful, and yes she's secilc(8), the SELinux CIL Compiler section of the manual. she's the one who invokes the CIL compiler. that's literally her whole thing. periodt. π
π SYNOPSIS π
secilc [OPTION...] file
π DESCRIPTION π
so here's the tea: secilc invokes the CIL compiler with all the arguments you gave her, and out comes a kernel binary policy. that's the goal. that's the assignment and she ate. π₯
and NOT just that β a file_contexts file gets built too, and the way that works is fully described in the FILE FORMAT section of file_contexts(5). go read it, iykyk. π
β¨ OPTIONS β¨
-o,--output=<file>β write the binary policy to file. default ispolicy.version. π«Ά-f,--filecontext=<file>β write the file contexts to file. default isfile_contexts.-t,--target=<type>β pick your target architecture. it may beselinuxorxen(default:selinux). choose wisely bestie. π-M,--mls true|falseβ build an mls policy. it must betrueorfalse, no in-between, no maybe. this one overrides the(mls boolean)statement if that statement is present in the policy. lowkey powerful. π-c,--policyvers=<version>β build a binary policy with a given version. default depends on the system's SELinux policy version β peepsestatus(8)for that.-U,--handle-unknown=<action>β how to handle unknown classes or permissions. may bedeny,allow, orreject(default:deny). this overrides the(handleunknown action)statement if it's present in the policy.-D,--disable-dontauditβ do NOT adddontauditrules to the binary policy. not today. π-P,--preserve-tunablesβ treat tunables as booleans.-Q,--qualified-namesβ allow names containing dots (qualified names). heads up tho:Blocks,blockinherits,blockabstracts, andin-statementswill not be allowed. so it's giving trade-offs. π-m,--multiple-declsβ allow some statements to be re-declared.-N,--disable-neverallowβ do not checkneverallowrules. (the name says never, but you said never mind π)-G,--expand-generatedβ expand and remove auto-generated attributes.-X,--expand-size <size>β expand type attributes with fewer than<SIZE>members.-O,--optimizeβ optimize the final policy (remove redundant rules). declutter queen β¨-v,--verboseβ increment the verbosity level. say more, bestie π£οΈ-h,--helpβ display usage information. the classic. πΈ
π SEE ALSO π
HTML documentation describing the CIL language statements is available starting with docs/html/index.html. β¨
PDF documentation describing the CIL language statements is available at: docs/pdf/CIL_Reference_Guide.pdf. π
There is a CIL Design Wiki at: http://github.com/SELinuxProject/cil/wiki that describes the goals and features of the CIL language. go get educated bestie π¦
π AUTHOR π
Richard Haines
and that's the whole page, fr fr. this was secilc from 07/07/2026 β source and version, right there β under SECILC(8). slay, stay compiled, mwah π
π
π¦ where this page comes from
- ubuntu stonking: secilc 3.11-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms