]> git.ipfire.org Git - thirdparty/systemd.git/commit
binfmt: modernize code a bit
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Apr 2020 14:27:46 +0000 (16:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Apr 2020 15:14:41 +0000 (17:14 +0200)
commitf3670df13e144c2f81bf6f9a0bea581e6d555bdd
treeb83859493c6f6e6320032cd79e3a83d2ffe09986
parent0282c0285a3e3c2e409305ce28555a6ad0489539
binfmt: modernize code a bit

Let's just copy out the bit of the string we need, and let's make sure
we refuse rules called "status" and "register", since those are special
files in binfmt_misc's file system.
src/binfmt/binfmt.c