linux - user space program as build-in object -
i have user space program , want make build-in. reason doing because don't want 1 delete binary file created , kept in /root directory accidentally. invoke binary here
/etc/init.d questions
can create user space program build-in obj-y option in makefile?
if so, how call during boot time or build in called automatically during boot remember user space code?
can userspace program created using built-in
obj-yoption inmakefile?
no. linux kernel makefiles used build object files linked within kernel image.
if userspace binaries need packaged alongwith linux kernel image,
consider using initramfs/initrd , build , package alongwith linux kernel image.next, if contents of initramfs/initrd must never removed @ runtime, 1 must
- set appropriate permissions file, directory (deny write access)
and - restrict access superuser account on system @ runtime.
- set appropriate permissions file, directory (deny write access)
Comments
Post a Comment