forked from CyanogenMod/android_device_samsung_i9300
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ied0ef6d0c8c57cabeb359e5326444f52af3a2028
- Loading branch information
codeworkx
committed
Sep 22, 2012
1 parent
b25dd45
commit 3ea6d06
Showing
6 changed files
with
75 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Android fstab file. | ||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> | ||
# The filesystem that contains the filesystem checker binary (typically /system) cannot | ||
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK | ||
|
||
|
||
/dev/block/mmcblk0p3 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait | ||
/dev/block/mmcblk0p9 /system ext4 ro,noatime wait | ||
/dev/block/mmcblk0p8 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait | ||
|
||
# data partition must be located at the bottom for supporting device encryption | ||
/dev/block/mmcblk0p12 /data ext4 noatime,nosuid,nodev,discard,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Permissions to allow system-wide tracing to the kernel trace buffer. | ||
## | ||
on boot | ||
|
||
# Allow writing to the kernel trace log. | ||
chmod 0222 /sys/kernel/debug/tracing/trace_marker | ||
|
||
# Allow the shell group to enable (some) kernel tracing. | ||
chown root shell /sys/kernel/debug/tracing/trace_clock | ||
chown root shell /sys/kernel/debug/tracing/buffer_size_kb | ||
chown root shell /sys/kernel/debug/tracing/options/overwrite | ||
chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable | ||
chown root shell /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable | ||
chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable | ||
chown root shell /sys/kernel/debug/tracing/events/power/cpu_idle/enable | ||
chown root shell /sys/kernel/debug/tracing/events/cpufreq_interactive/enable | ||
chown root shell /sys/kernel/debug/tracing/tracing_on | ||
|
||
chmod 0664 /sys/kernel/debug/tracing/trace_clock | ||
chmod 0664 /sys/kernel/debug/tracing/buffer_size_kb | ||
chmod 0664 /sys/kernel/debug/tracing/options/overwrite | ||
chmod 0664 /sys/kernel/debug/tracing/events/sched/sched_switch/enable | ||
chmod 0664 /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable | ||
chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable | ||
chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_idle/enable | ||
chmod 0664 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable | ||
chmod 0664 /sys/kernel/debug/tracing/tracing_on | ||
|
||
# Allow only the shell group to read and truncate the kernel trace. | ||
chown root shell /sys/kernel/debug/tracing/trace | ||
chmod 0660 /sys/kernel/debug/tracing/trace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters