-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'linus' into x86/spinlocks
Done to prevent this failure of an Octopus merge: Added arch/arm/include/asm/byteorder.h in both, but differently. ERROR: Merge conflict in arch/arm/include/asm/byteorder.h Auto-merging include/asm-x86/spinlock.h ERROR: Merge conflict in include/asm-x86/spinlock.h fatal: merge program failed
- Loading branch information
Showing
3,771 changed files
with
195,611 additions
and
95,683 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,26 @@ | ||
What: /sys/class/gpio/ | ||
Date: July 2008 | ||
KernelVersion: 2.6.27 | ||
Contact: David Brownell <dbrownell@users.sourceforge.net> | ||
Description: | ||
|
||
As a Kconfig option, individual GPIO signals may be accessed from | ||
userspace. GPIOs are only made available to userspace by an explicit | ||
"export" operation. If a given GPIO is not claimed for use by | ||
kernel code, it may be exported by userspace (and unexported later). | ||
Kernel code may export it for complete or partial access. | ||
|
||
GPIOs are identified as they are inside the kernel, using integers in | ||
the range 0..INT_MAX. See Documentation/gpio.txt for more information. | ||
|
||
/sys/class/gpio | ||
/export ... asks the kernel to export a GPIO to userspace | ||
/unexport ... to return a GPIO to the kernel | ||
/gpioN ... for each exported GPIO #N | ||
/value ... always readable, writes fail for input GPIOs | ||
/direction ... r/w as: in, out (default low); write: high, low | ||
/gpiochipN ... for each gpiochip; #N is its first GPIO | ||
/base ... (r/o) same as N | ||
/label ... (r/o) descriptive, not necessarily unique | ||
/ngpio ... (r/o) number of GPIOs; numbered N to N + (ngpio - 1) | ||
|
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
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
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,27 @@ | ||
If you want to use SELinux, chances are you will want | ||
to use the distro-provided policies, or install the | ||
latest reference policy release from | ||
http://oss.tresys.com/projects/refpolicy | ||
|
||
However, if you want to install a dummy policy for | ||
testing, you can do using 'mdp' provided under | ||
scripts/selinux. Note that this requires the selinux | ||
userspace to be installed - in particular you will | ||
need checkpolicy to compile a kernel, and setfiles and | ||
fixfiles to label the filesystem. | ||
|
||
1. Compile the kernel with selinux enabled. | ||
2. Type 'make' to compile mdp. | ||
3. Make sure that you are not running with | ||
SELinux enabled and a real policy. If | ||
you are, reboot with selinux disabled | ||
before continuing. | ||
4. Run install_policy.sh: | ||
cd scripts/selinux | ||
sh install_policy.sh | ||
|
||
Step 4 will create a new dummy policy valid for your | ||
kernel, with a single selinux user, role, and type. | ||
It will compile the policy, will set your SELINUXTYPE to | ||
dummy in /etc/selinux/config, install the compiled policy | ||
as 'dummy', and relabel your filesystem. |
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
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
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
Oops, something went wrong.