diff options
| author | Michal Marek <[email protected]> | 2009-11-24 15:11:37 +0000 |
|---|---|---|
| committer | Michal Marek <[email protected]> | 2009-12-12 12:08:15 +0000 |
| commit | 91d161857ce9672bd2a8cd99ff712a67186e2e76 (patch) | |
| tree | 61818dcc6c8dc6d5b76012996c355e5c29dba325 /scripts/unifdef.c | |
| parent | Kbuild: clean up marker (diff) | |
| download | kernel-91d161857ce9672bd2a8cd99ff712a67186e2e76.tar.gz kernel-91d161857ce9672bd2a8cd99ff712a67186e2e76.zip | |
scripts/package: tar-pkg: use tar --owner=root
Use the --owner= and --group= options to make sure the entries in
the built tar file are owned by root. Without this change, a
careless sysadmin using the tar-pkg target can easily end up
installing a kernel that is writable by the unprivileged user
account used to build the kernel.
Test that these options are understood before using them so that
non-GNU versions of tar can still be used if the operator is
appropriately cautious.
Signed-off-by: Jonathan Nieder <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions
