Really? The kernel should ignore a trailing newline - it won't be recognised as a valid flag character, which will cause fs/binfmt_misc.c:check_special_flags to break out, and then fs/binfmt_misc.c:create_entry will silently skip the trailing newline. The instructions in Documentation/binfmt_misc.txt will include a trailing newline in the string written to register.
For that matter, update-binfmts itself has always written a trailing newline to register. cat won't add a second one or anything. What did you observe to go wrong? -- update-binfmts is slow on boot https://bugs.launchpad.net/bugs/320822 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
