Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fcf2db4
Add secure_modules() call
Aug 9, 2013
00d259d
PCI: Lock down BAR access when module security is enabled
Mar 8, 2012
b6df0aa
x86: Lock down IO port access when module security is enabled
Mar 8, 2012
23fd873
ACPI: Limit access to custom_method
Mar 9, 2012
cb9a638
asus-wmi: Restrict debugfs interface when module loading is restricted
Mar 9, 2012
eecc594
Restrict /dev/mem and /dev/kmem when module loading is restricted
Mar 9, 2012
e2d101b
acpi: Ignore acpi_rsdp kernel parameter when module loading is restri…
jwboyer Jun 25, 2012
cebac39
kexec: Disable at runtime if the kernel enforces module loading restr…
Nov 20, 2015
fe362fc
x86: Restrict MSR access when module loading is restricted
Feb 8, 2013
323216a
Add option to automatically enforce module signatures when in Secure …
Aug 9, 2013
dbfa35d
efi: Make EFI_SECURE_BOOT_SIG_ENFORCE depend on EFI
Aug 27, 2013
f8c98a5
efi: Add EFI_SECURE_BOOT bit
Aug 27, 2013
5cb706d
hibernate: Disable in a signed modules environment
Jun 20, 2014
7aa0a80
Security: Provide copy-up security hooks for unioned files
dhowells Jun 16, 2015
49ddbf5
Overlayfs: Use copy-up security hooks
dhowells Jun 16, 2015
80d3b14
SELinux: Stub in copy-up handling
dhowells Jun 16, 2015
c3bbdf4
SELinux: Handle opening of a unioned file
dhowells Jun 16, 2015
1f001c5
SELinux: Check against union label for file operations
dhowells Jun 16, 2015
664426d
overlayfs: use a minimal buffer in ovl_copy_xattr
Oct 20, 2015
88e8537
kbuild: derive relative path for KBUILD_SRC from CURDIR
Nov 25, 2015
8cbe9f6
Don't verify write permissions on lower inodes on overlayfs
Dec 22, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
kbuild: derive relative path for KBUILD_SRC from CURDIR
This enables relocating source and build trees to different roots,
provided they stay reachable relative to one another.  Useful for
builds done within a sandbox where the eventual root is prefixed
by some undesirable path component.
  • Loading branch information
Vito Caputo authored and crawford committed Apr 5, 2016
commit 88e8537341d2944fa223af8011399c009df53917
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
@:

sub-make: FORCE
$(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \
$(Q)$(MAKE) -C $(KBUILD_OUTPUT) \
KBUILD_SRC=$(shell realpath --relative-to=$(KBUILD_OUTPUT) $(CURDIR)) \
-f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS))

# Leave processing to above invocation of make
Expand Down