Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.9 2.3.x imx #40

Merged
merged 1,045 commits into from
Dec 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1045 commits
Select commit Hold shift + click to select a range
2cf6ba5
new helper: uaccess_kernel()
Mar 21, 2017
ab26f7f
HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges
ebiggers Nov 14, 2018
c3ec4e5
libceph: fall back to sendmsg for slab pages
idryomov Nov 8, 2018
bb2d990
Linux 4.9.141
gregkh Nov 27, 2018
b7e0448
usb: core: Fix hub port connection events lost
dwassenberg Nov 13, 2018
6d5da20
usb: dwc3: core: Clean up ULPI device
andy-shev Aug 27, 2018
43bc9c6
usb: xhci: fix timeout for transition from RExit to U0
pyma1 Nov 9, 2018
1b90193
MAINTAINERS: Add Sasha as a stable branch maintainer
gregkh Nov 15, 2018
2e668d7
gpio: don't free unallocated ida on gpiochip_add_data_with_key() erro…
vzapolskiy Nov 2, 2018
91a292b
iwlwifi: mvm: support sta_statistics() even on older firmware
egrumbach Aug 16, 2018
3d44c29
iwlwifi: mvm: fix regulatory domain update when the firmware starts
egrumbach Oct 3, 2018
a62e87a
brcmfmac: fix reporting support for 160 MHz channels
Nov 8, 2018
8af78a6
tools/power/cpupower: fix compilation with STATIC=true
koct9i Oct 16, 2018
3a0e8e3
v9fs_dir_readdir: fix double-free on p9stat_read error
Aug 27, 2018
47ff762
selinux: Add __GFP_NOWARN to allocation at str_read()
Sep 7, 2018
ecfcb85
bfs: add sanity check at bfs_fill_super()
Nov 2, 2018
e044554
sctp: clear the transport of some out_chunk_list chunks in sctp_assoc…
lxin Oct 29, 2018
50c0005
gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
andyprice Oct 8, 2018
2a12200
llc: do not use sk_eat_skb()
Oct 22, 2018
789c694
mm: don't warn about large allocations for slab
dvyukov Oct 26, 2018
f1c32ba
drm/ast: change resolution may cause screen blurred
ycchen0221 Oct 3, 2018
7fdaacc
drm/ast: fixed cursor may disappear sometimes
ycchen0221 Oct 30, 2018
0bf67de
drm/ast: Remove existing framebuffers before loading driver
Nov 15, 2018
8bcd10d
can: dev: can_get_echo_skb(): factor out non sending code to __can_ge…
marckleinebudde Oct 31, 2018
5adc1c5
can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_fra…
marckleinebudde Oct 31, 2018
8aa60a6
can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::e…
marckleinebudde Oct 31, 2018
c4c2c28
can: dev: __can_get_echo_skb(): print error message, if trying to ech…
marckleinebudde Oct 31, 2018
7f6a541
IB/core: Fix for core panic
alexestr Aug 31, 2017
4155924
IB/hfi1: Eliminate races in the SDMA send error path
mjruhl Sep 10, 2018
1a81740
usb: xhci: Prevent bus suspend if a port connect change or polling st…
matnyman Nov 15, 2018
0c7c4c4
pinctrl: meson: fix pinconf bias disable
jbrun3t Oct 23, 2018
c57911f
KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
Nov 7, 2018
3955562
cpufreq: imx6q: add return value check for voltage scale
Anson-Huang Nov 5, 2018
ab509b4
rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
xulinsun Nov 6, 2018
03781eb
floppy: fix race condition in __floppy_read_block_0()
axboe Nov 9, 2018
99bfbe5
powerpc/io: Fix the IO workarounds code to work with Radix
mpe Nov 6, 2018
19b7cd1
perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLa…
Oct 19, 2018
35a0620
SUNRPC: Fix a bogus get/put in generic_key_to_expire()
Nov 12, 2018
8f9b3dd
kdb: Use strscpy with destination buffer size
prarit Sep 20, 2018
636374c
powerpc/numa: Suppress "VPHN is not supported" messages
Nov 8, 2018
b57951e
efi/arm: Revert deferred unmap of early memmap mapping
Nov 14, 2018
d77eacd
tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative of…
Nov 16, 2018
95cd1aa
of: add helper to lookup compatible child node
jhovold Aug 27, 2018
b694d8d
NFC: nfcmrvl_uart: fix OF child-node lookup
jhovold Aug 27, 2018
ab076d2
net: bcmgenet: fix OF child-node lookup
jhovold Aug 27, 2018
2729911
arm64: remove no-op -p linker flag
greghackmann Nov 27, 2018
5f0de88
ath10k: fix kernel panic due to race in accessing arvif list
Oct 10, 2016
d6418e1
Input: xpad - add product ID for Xbox One S pad
cgutman Nov 28, 2016
cf82f5f
Input: xpad - fix Xbox One rumble stopping after 2.5 secs
cgutman Nov 28, 2016
b05c3b9
Input: xpad - correctly sort vendor id's
dantob May 27, 2016
69f7143
Input: xpad - move reporting xbox one home button to common function
dantob May 27, 2016
31abdb6
Input: xpad - simplify error condition in init_output
paroj May 27, 2016
82e3ce0
Input: xpad - don't depend on endpoint order
cgutman Jan 4, 2017
e9c7ce1
Input: xpad - fix stuck mode button on Xbox One S pad
cgutman Feb 6, 2017
51b54b8
Input: xpad - restore LED state after device resume
cgutman Feb 7, 2017
574d843
Input: xpad - support some quirky Xbox One pads
cgutman Apr 11, 2017
5ff2a1a
Input: xpad - sort supported devices by USB ID
benpicco May 7, 2017
c5b83f3
Input: xpad - sync supported devices with xboxdrv
benpicco May 7, 2017
34784d6
Input: xpad - add USB IDs for Mad Catz Brawlstick and Razer Sabertooth
benpicco May 7, 2017
e7bb751
Input: xpad - sync supported devices with 360Controller
benpicco Jun 18, 2017
70f356a
Input: xpad - sync supported devices with XBCD
benpicco Jun 18, 2017
8b20c25
Input: xpad - constify usb_device_id
ArvindYadavCs Aug 8, 2017
7d6d5fc
Input: xpad - fix PowerA init quirk for some gamepad models
cgutman Aug 31, 2017
ac8f836
Input: xpad - validate USB endpoint type during probe
cgutman Sep 12, 2017
edcfecd
Input: xpad - add support for PDP Xbox One controllers
TheUbuntuGuy Jan 22, 2018
7044e32
Input: xpad - add PDP device id 0x02a4
auxym Mar 26, 2018
cade531
Input: xpad - fix some coding style issues
LeoAtGit Aug 4, 2016
ad897a4
Input: xpad - avoid using __set_bit() for capabilities
marcusfolkesson May 8, 2018
dd15a17
Input: xpad - add GPD Win 2 Controller USB IDs
flibitijibibo Jun 1, 2018
29956d8
Input: xpad - fix GPD Win 2 controller name
Jun 19, 2018
bf390ab
Input: xpad - add support for Xbox1 PDP Camo series gamepad
ramzeto Sep 28, 2018
2091b8c
cw1200: Don't leak memory if krealloc failes
Sep 30, 2016
b4f8e4c
mwifiex: prevent register accesses after host is sleeping
Sep 28, 2016
c34774e
mwifiex: report error to PCIe for suspend failure
Sep 28, 2016
c814427
mwifiex: Fix NULL pointer dereference in skb_dequeue()
Sep 28, 2016
6bea268
mwifiex: fix p2p device doesn't find in scan problem
marvellwireless Sep 28, 2016
675d919
scsi: ufs: fix bugs related to null pointer access and array size
Oct 18, 2016
0967f4d
scsi: ufshcd: Fix race between clk scaling and ungate work
Oct 18, 2016
99a3bd3
scsi: ufs: fix race between clock gating and devfreq scaling work
Oct 28, 2016
f8c66ab
scsi: ufshcd: release resources if probe fails
Oct 28, 2016
674004e
include/linux/pfn_t.h: force '~' to be parsed as an unary operator
sebhtml Oct 26, 2018
3540460
tty: wipe buffer.
torvalds Oct 4, 2018
e2e3a81
tty: wipe buffer if not echoing data
gregkh Oct 4, 2018
0c9aa4d
usb: xhci: fix uninitialized completion when USB3 port got wrong status
pyma1 Nov 9, 2018
5a416ed
sched/core: Allow __sched_setscheduler() in interrupts when PI is not…
rostedt Mar 9, 2017
0c41bee
namei: allow restricted O_CREAT of FIFOs and regular files
smeso Aug 24, 2018
a1b53b1
lan78xx: Read MAC address from DT if present
Apr 19, 2018
2188cf0
s390/mm: Check for valid vma before zapping in gmap_discard
frankjaa Aug 16, 2018
a49f034
net: ieee802154: 6lowpan: fix frag reassembly
Apr 20, 2018
5fed1ff
Revert "evm: Translate user/group ids relative to s_user_ns when comp…
ebiederm Dec 2, 2016
5f9fb1a
ima: always measure and audit files in policy
Jun 18, 2017
87043e4
EVM: Add support for portable signature format
mjg59 Nov 7, 2017
166f454
ima: re-introduce own integrity cache lock
kdsoss Dec 5, 2017
1f89834
ima: re-initialize iint->atomic_flags
Jan 23, 2018
68ae960
Linux 4.9.142
gregkh Dec 1, 2018
b48c29b
mm/huge_memory: rename freeze_page() to unmap_page()
Nov 30, 2018
fb732e6
mm/huge_memory.c: reorder operations in __split_huge_page_tail()
koct9i Apr 5, 2018
ffdad59
mm/huge_memory: splitting set mapping+index before unfreeze
Nov 30, 2018
b59b24f
mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
Nov 30, 2018
10e458e
mm/khugepaged: collapse_shmem() stop if punched or truncated
Nov 30, 2018
cae7ed2
shmem: shmem_charge: verify max_block is not exceeded before inode up…
rppt Sep 6, 2017
9815b0f
shmem: introduce shmem_inode_acct_block
rppt Sep 6, 2017
0dba3e5
mm/khugepaged: fix crashes due to misaccounted holes
Nov 30, 2018
5c0ecc2
mm/khugepaged: collapse_shmem() remember to clear holes
Nov 30, 2018
c2ca73b
mm/khugepaged: minor reorderings in collapse_shmem()
Nov 30, 2018
8dcbb5f
mm/khugepaged: collapse_shmem() without freezing new_page
Nov 30, 2018
dc62803
mm/khugepaged: collapse_shmem() do not crash on Compound
Nov 30, 2018
6fc74d9
media: em28xx: Fix use-after-free when disconnecting
zzam Oct 30, 2017
ad0ee4f
Revert "wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_…
Dec 2, 2018
d39ebd1
net: skb_scrub_packet(): Scrub offload_fwd_mark
pmachata Nov 20, 2018
13a3d89
rapidio/rionet: do not free skb before reading its length
SinkFinder Nov 28, 2018
1d3891c
s390/qeth: fix length check in SNMP processing
julianwiedmann Nov 28, 2018
ff67a7d
usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
Nov 23, 2018
aa71643
kvm: mmu: Fix race in emulated page table writes
Oct 31, 2018
43dd9f4
kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
jsmattsonjr May 22, 2018
3a468e8
KVM: X86: Fix scan ioapic use-before-initialization
Nov 20, 2018
c26e3c6
xtensa: enable coprocessors that are being flushed
jcmvbkbc Nov 26, 2018
f403887
xtensa: fix coprocessor context offset definitions
jcmvbkbc Nov 26, 2018
6e1210e
Btrfs: ensure path name is null terminated at btrfs_control_ioctl
fdmanana Nov 14, 2018
08c133e
perf/x86/intel: Move branch tracing setup to the Intel-specific sourc…
olsajiri Nov 21, 2018
54f7382
perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
olsajiri Nov 21, 2018
55eb06b
fs: fix lost error code in dio_complete
heynemax Nov 30, 2018
12b2eff
ALSA: wss: Fix invalid snd_free_pages() at error path
tiwai Nov 23, 2018
5d3201b
ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
tiwai Nov 23, 2018
e3ff60d
ALSA: control: Fix race between adding and removing a user element
tiwai Nov 22, 2018
9c4a8f6
ALSA: sparc: Fix invalid snd_free_pages() at error path
tiwai Nov 23, 2018
4e443d7
ext2: fix potential use after free
SinkFinder Nov 25, 2018
0daa7fc
dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
rgenoud Nov 27, 2018
07d8aba
dmaengine: at_hdmac: fix module unloading
rgenoud Nov 27, 2018
36d8dbf
btrfs: release metadata before running delayed refs
josefbacik Nov 20, 2018
72c6bc4
USB: usb-storage: Add new IDs to ums-realtek
khfeng Nov 23, 2018
0f887c6
usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
c0d3z3r0 Nov 25, 2018
4a978cf
Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
Nov 19, 2018
06c2233
iio:st_magn: Fix enable device after trigger
martingkelly Oct 29, 2018
3c47063
mm: use swp_offset as key in shmem_replace_page()
yuzhaogoogle Nov 30, 2018
140ee9b
Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
dcui Nov 26, 2018
c4c29e1
misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
Nov 14, 2018
fb66079
efi/libstub: arm: support building with clang
Dec 3, 2018
61cc858
ARM: 8766/1: drop no-thumb-interwork in EABI mode
agners May 8, 2018
1047907
ARM: 8767/1: add support for building ARM kernel with clang
agners May 8, 2018
b874a87
bus: arm-cci: remove unnecessary unreachable()
agners May 8, 2018
1e5b5cb
ARM: trusted_foundations: do not use naked function
agners Mar 25, 2018
6f35b5b
workqueue: avoid clang warning
arndb Feb 1, 2017
6d075d2
efi/libstub: Make file I/O chunking x86-specific
Feb 6, 2017
740f140
kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
ccfries Dec 3, 2018
b136f0e
Linux 4.9.143
gregkh Dec 5, 2018
dfb64b8
Kbuild: suppress packed-not-aligned warning for default setting only
Jan 11, 2018
5e2669c
disable stringop truncation warnings for now
sfrothwell Aug 30, 2018
d041ed2
test_hexdump: use memcpy instead of strncpy
torvalds Nov 30, 2018
cd39e29
kobject: Replace strncpy with memcpy
groeck Jul 1, 2018
0d4a2de
unifdef: use memcpy instead of strncpy
torvalds Nov 30, 2018
52fc8c7
kernfs: Replace strncpy with memcpy
groeck Jul 1, 2018
5569c10
ip_tunnel: Fix name string concatenate in __ip_tunnel_create()
kerneltoast Jun 6, 2018
0470662
drm: gma500: fix logic error
arndb Sep 5, 2017
2de7563
scsi: bfa: convert to strlcpy/strlcat
arndb Dec 4, 2017
e9490d7
staging: rts5208: fix gcc-8 logic error warning
arndb Sep 5, 2017
21761c7
kdb: use memmove instead of overlapping memcpy
arndb Feb 2, 2018
ad3af65
x86/power/64: Use char arrays for asm function names
kees May 9, 2017
6673937
iser: set sector for ambiguous mr status errors
sagigrimberg Nov 14, 2018
0b58d90
uprobes: Fix handle_swbp() vs. unregister() + register() race once more
Nov 22, 2018
1eef40b
MIPS: ralink: Fix mt7620 nd_sd pinmux
mkresin Nov 26, 2018
26c1287
mips: fix mips_get_syscall_arg o32 check
ldv-alt Nov 21, 2018
23aa2d8
IB/mlx5: Avoid load failure due to unknown link width
mikijoy Nov 21, 2018
96562b8
drm/ast: Fix incorrect free on ioregs
Nov 5, 2018
de8268d
drm: set is_master to 0 upon drm_new_set_master() failure
qrwteyrutiyoup Nov 22, 2018
5f41f8c
scsi: scsi_devinfo: cleanly zero-pad devinfo strings
mwilck Nov 27, 2017
b2b9363
ALSA: trident: Suppress gcc string warning
tiwai Jul 26, 2018
0256f87
scsi: csiostor: Avoid content leaks and casts
kees May 9, 2017
d0bf1cb
kgdboc: Fix restrict error
labbott Sep 10, 2018
412091e
kgdboc: Fix warning with module build
labbott Sep 20, 2018
c0d75da
binder: fix proc->files use-after-free
Nov 27, 2017
8e9de89
svm: Add mutex_lock to protect apic_access_page_done on AMD systems
Nov 12, 2018
d0095c5
drm/mediatek: fix OF sibling-node lookup
jhovold Aug 27, 2018
3ea71da
Input: xpad - quirk all PDP Xbox One gamepads
cgutman Nov 29, 2018
81bedda
Input: matrix_keypad - check for errors from of_get_named_gpio()
choff Nov 12, 2018
d5cb3f3
Input: elan_i2c - add ELAN0620 to the ACPI table
pgaskin Nov 12, 2018
0d70ce8
Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
nwestervelt Nov 29, 2018
b5e2333
Input: elan_i2c - add support for ELAN0621 touchpad
TheWongGuy Nov 29, 2018
c50ccf2
btrfs: Always try all copies when reading extent buffers
lorddoskias Nov 6, 2018
ddc07d5
Btrfs: fix use-after-free when dumping free space
fdmanana Oct 22, 2018
abbeacc
ARC: change defconfig defaults to ARCv2
khilman Nov 30, 2018
84fa7fc
arc: [devboards] Add support of NFSv3 ACL
abrodkin Nov 20, 2018
47fb2ff
udf: Allow mounting volumes with incorrect identification strings
jankara Nov 16, 2018
ca58e3b
reset: make optional functions really optional
RamiroOliveira Jan 13, 2017
d4b89ec
reset: core: fix reset_control_put
hkallweit Feb 1, 2017
7be2600
reset: fix optional reset_control_get stubs to return NULL
pH5 Mar 20, 2017
ee6e7fb
reset: add exported __reset_control_get, return NULL if optional
pH5 Feb 5, 2016
f109deb
reset: make device_reset_optional() really optional
masahir0y Oct 28, 2017
0e67f1c
reset: remove remaining WARN_ON() in <linux/reset.h>
masahir0y Oct 28, 2017
60b3d44
mm: cleancache: fix corruption on missed inode invalidation
Snorch Nov 30, 2018
f3e31bb
usb: gadget: dummy: fix nonsensical comparisons
arndb Sep 7, 2017
11de2fa
net: qed: use correct strncpy() size
arndb Feb 2, 2018
5acc58c
tipc: use destination length for copy string
GuoqingJiang Oct 19, 2018
9041d1e
libceph: drop len argument of *verify_authorizer_reply()
idryomov Dec 2, 2016
bd180ec
libceph: no need to drop con->mutex for ->get_authorizer()
idryomov Dec 2, 2016
0811545
libceph: store ceph_auth_handshake pointer in ceph_connection
idryomov Jul 26, 2018
2617cd5
libceph: factor out __prepare_write_connect()
idryomov Jul 26, 2018
9da9bb4
libceph: factor out __ceph_x_decrypt()
idryomov Jul 26, 2018
2e901ea
libceph: factor out encrypt_authorizer()
idryomov Jul 27, 2018
06e9259
libceph: add authorizer challenge
idryomov Jul 27, 2018
18a23fb
libceph: implement CEPHX_V2 calculation mode
idryomov Jul 27, 2018
985a551
libceph: weaken sizeof check in ceph_x_verify_authorizer_reply()
idryomov Jul 27, 2018
e190b82
libceph: check authorizer reply/challenge length before reading
idryomov Jul 27, 2018
9c33b84
bpf/verifier: Add spi variable to check_stack_write()
bwh-ct Dec 5, 2018
62e0865
bpf/verifier: Pass instruction index to check_mem_access() and check_…
bwh-ct Dec 5, 2018
def8c1d
bpf: Prevent memory disambiguation attack
May 15, 2018
35db4d1
wil6210: missing length check in wmi_set_ie
Nov 14, 2017
e5deaa5
mm/hugetlb.c: don't call region_abort if region_chg fails
mjkravetz Mar 31, 2017
3d101f3
hugetlbfs: fix offset overflow in hugetlbfs mmap
mjkravetz Apr 13, 2017
447effd
hugetlbfs: check for pgoff value overflow
mjkravetz Mar 22, 2018
3c77b07
btrfs: validate type when reading a chunk
Jul 4, 2018
23eb2f4
btrfs: Verify that every chunk has corresponding block group at mount…
adam900710 Aug 1, 2018
b0a67e4
btrfs: Refactor check_leaf function for later expansion
Aug 23, 2017
ece4bb5
btrfs: Check if item pointer overlaps with the item itself
Aug 23, 2017
c5b2907
btrfs: Add sanity check for EXTENT_DATA when reading out leaf
Aug 23, 2017
dc56464
btrfs: Add checker for EXTENT_CSUM
Aug 23, 2017
90eb4c0
btrfs: Move leaf and node validation checker to tree-checker.c
Oct 9, 2017
20b3041
btrfs: struct-funcs, constify readers
jeffmahoney Jun 29, 2017
f4209d9
btrfs: tree-checker: Enhance btrfs_check_node output
Oct 9, 2017
f7438e6
btrfs: tree-checker: Fix false panic for sanity test
adam900710 Nov 8, 2017
e48e62f
btrfs: tree-checker: Add checker for dir item
adam900710 Nov 8, 2017
6b66f51
btrfs: tree-checker: use %zu format string for size_t
arndb Dec 6, 2017
db438c3
btrfs: tree-check: reduce stack consumption in check_dir_item
kdave Jan 10, 2018
058e388
btrfs: tree-checker: Verify block_group_item
adam900710 Jul 3, 2018
6f33d3d
btrfs: tree-checker: Detect invalid and empty essential trees
adam900710 Jul 3, 2018
7a72f91
btrfs: Check that each block group has corresponding chunk at mount time
adam900710 Aug 1, 2018
fbf8bd3
btrfs: tree-checker: Check level for leaves and nodes
adam900710 Sep 27, 2018
d558df7
btrfs: tree-checker: Fix misleading group system information
zhangshk Nov 5, 2018
3b19f96
f2fs: fix a panic caused by NULL flush_cmd_control
Jun 1, 2017
cb9b1d4
f2fs: fix race condition in between free nid allocator/initializer
chaseyu Mar 22, 2017
240ceff
f2fs: detect wrong layout
Dec 5, 2016
3fd9620
f2fs: return error during fill_super
Dec 20, 2017
89d78cf
f2fs: check blkaddr more accuratly before issue a bio
Mar 8, 2018
6e182e9
f2fs: sanity check on sit entry
Apr 24, 2018
65e1055
f2fs: enhance sanity_check_raw_super() to avoid potential overflow
Apr 28, 2018
6012d18
f2fs: clean up with is_valid_blkaddr()
chaseyu May 23, 2018
d451188
f2fs: introduce and spread verify_blkaddr
chaseyu Jun 5, 2018
a3dccfa
f2fs: fix to do sanity check with secs_per_zone
chaseyu Jun 22, 2018
06e606a
f2fs: fix to do sanity check with user_block_count
chaseyu Jun 27, 2018
fd8c7d3
f2fs: Add sanity_check_inode() function
bwh-ct Nov 29, 2018
1c87980
f2fs: fix to do sanity check with node footer and iblocks
chaseyu Jun 29, 2018
aafb371
f2fs: fix to do sanity check with block address in main area
chaseyu Aug 1, 2018
e33c1e2
f2fs: fix missing up_read
Sep 28, 2018
b10a6ac
f2fs: fix to do sanity check with block address in main area v2
chaseyu Jul 10, 2018
2c605dd
f2fs: free meta pages if sanity check for ckpt is failed
Dec 6, 2016
91fe514
f2fs: fix to do sanity check with cp_pack_start_sum
chaseyu Dec 6, 2018
4ec44e9
xfs: don't fail when converting shortform attr to long form during AT…
djwong Apr 18, 2018
0c82bca
hugetlbfs: fix bug in pgoff overflow checking
mjkravetz Apr 5, 2018
1aa861f
Linux 4.9.144
gregkh Dec 8, 2018
cfbbc77
Merge tag 'v4.9.144' into 4.9-2.3.x-imx
ziswiler Dec 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
*.lzo
*.patch
*.gcno
*.ll
modules.builtin
Module.symvers
*.dwo
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/net/macb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Required properties:
Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
the Cadence GEM, or the generic form: "cdns,gem".
Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
Use "atmel,sama5d4-gem" for the GEM IP (10/100) available on Atmel sama5d4 SoCs.
Use "cdns,zynq-gem" Xilinx Zynq-7xxx SoC.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/ina2xx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Supported chips:
Datasheet: Publicly available at the Texas Instruments website
http://www.ti.com/

Author: Lothar Felten <l-felten@ti.com>
Author: Lothar Felten <lothar.felten@gmail.com>

Description
-----------
Expand Down
7 changes: 0 additions & 7 deletions Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
This facility can be used to prevent such uncontrolled
GPE floodings.
Format: <int>
Support masking of GPEs numbered from 0x00 to 0x7f.

acpi_no_auto_serialize [HW,ACPI]
Disable auto-serialization of AML methods
Expand Down Expand Up @@ -1084,12 +1083,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
nopku [X86] Disable Memory Protection Keys CPU feature found
in some Intel CPUs.

eagerfpu= [X86]
on enable eager fpu restore
off disable eager fpu restore
auto selects the default scheme, which automatically
enables eagerfpu restore for xsaveopt.

module.async_probe [KNL]
Enable asynchronous probe on this module.

Expand Down
13 changes: 5 additions & 8 deletions Documentation/networking/ip-sysctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,11 @@ min_adv_mss - INTEGER

IP Fragmentation:

ipfrag_high_thresh - INTEGER
Maximum memory used to reassemble IP fragments. When
ipfrag_high_thresh bytes of memory is allocated for this purpose,
the fragment handler will toss packets until ipfrag_low_thresh
is reached. This also serves as a maximum limit to namespaces
different from the initial one.

ipfrag_low_thresh - INTEGER
ipfrag_high_thresh - LONG INTEGER
Maximum memory used to reassemble IP fragments.

ipfrag_low_thresh - LONG INTEGER
(Obsolete since linux-4.17)
Maximum memory used to reassemble IP fragments before the kernel
begins to remove incomplete fragment queues to free up resources.
The kernel still accepts new fragments for defragmentation.
Expand Down
36 changes: 36 additions & 0 deletions Documentation/sysctl/fs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ Currently, these files are in /proc/sys/fs:
- overflowgid
- pipe-user-pages-hard
- pipe-user-pages-soft
- protected_fifos
- protected_hardlinks
- protected_regular
- protected_symlinks
- suid_dumpable
- super-max
Expand Down Expand Up @@ -182,6 +184,24 @@ applied.

==============================================================

protected_fifos:

The intent of this protection is to avoid unintentional writes to
an attacker-controlled FIFO, where a program expected to create a regular
file.

When set to "0", writing to FIFOs is unrestricted.

When set to "1" don't allow O_CREAT open on FIFOs that we don't own
in world writable sticky directories, unless they are owned by the
owner of the directory.

When set to "2" it also applies to group writable sticky directories.

This protection is based on the restrictions in Openwall.

==============================================================

protected_hardlinks:

A long-standing class of security issues is the hardlink-based
Expand All @@ -202,6 +222,22 @@ This protection is based on the restrictions in Openwall and grsecurity.

==============================================================

protected_regular:

This protection is similar to protected_fifos, but it
avoids writes to an attacker-controlled regular file, where a program
expected to create one.

When set to "0", writing to regular files is unrestricted.

When set to "1" don't allow O_CREAT open on regular files that we
don't own in world writable sticky directories, unless they are
owned by the owner of the directory.

When set to "2" it also applies to group writable sticky directories.

==============================================================

protected_symlinks:

A long-standing class of security issues is the symlink-based
Expand Down
25 changes: 0 additions & 25 deletions Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,6 @@
# 4) Check for missing system calls
# 5) Generate constants.py (may need bounds.h)

# Default sed regexp - multiline due to syntax constraints
define sed-y
"/^->/{s:->#\(.*\):/* \1 */:; \
s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
s:->::; p;}"
endef

# Use filechk to avoid rebuilds when a header changes, but the resulting file
# does not
define filechk_offsets
(set -e; \
echo "#ifndef $2"; \
echo "#define $2"; \
echo "/*"; \
echo " * DO NOT MODIFY."; \
echo " *"; \
echo " * This file was generated by Kbuild"; \
echo " */"; \
echo ""; \
sed -ne $(sed-y); \
echo ""; \
echo "#endif" )
endef

#####
# 1) Generate bounds.h

Expand Down
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -11488,6 +11488,7 @@ F: arch/alpha/kernel/srm_env.c

STABLE BRANCH
M: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
M: Sasha Levin <sashal@kernel.org>
L: stable@vger.kernel.org
S: Supported
F: Documentation/stable_kernel_rules.txt
Expand Down
71 changes: 46 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 130
SUBLEVEL = 144
EXTRAVERSION =
NAME = Roaring Lionus

Expand Down Expand Up @@ -303,7 +303,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \

HOSTCC = gcc
HOSTCXX = g++
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
HOSTCXXFLAGS = -O2

ifeq ($(shell $(HOSTCC) -v 2>&1 | grep -c "clang version"), 1)
Expand Down Expand Up @@ -394,7 +394,7 @@ LINUXINCLUDE += $(filter-out $(LINUXINCLUDE),$(USERINCLUDE))

KBUILD_AFLAGS := -D__ASSEMBLY__
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-fno-strict-aliasing -fno-common -fshort-wchar \
-Werror-implicit-function-declaration \
-Wno-format-security \
-std=gnu89
Expand Down Expand Up @@ -509,6 +509,39 @@ ifneq ($(filter install,$(MAKECMDGOALS)),)
endif
endif

ifeq ($(cc-name),clang)
ifneq ($(CROSS_COMPILE),)
CLANG_TARGET := -target $(notdir $(CROSS_COMPILE:%-=%))
GCC_TOOLCHAIN := $(realpath $(dir $(shell which $(LD)))/..)
endif
ifneq ($(GCC_TOOLCHAIN),)
CLANG_GCC_TC := -gcc-toolchain $(GCC_TOOLCHAIN)
endif
KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
# Quiet clang warning: comparison of unsigned expression < 0 is always false
KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
# See modpost pattern 2
KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
KBUILD_CFLAGS += $(call cc-option, -no-integrated-as)
KBUILD_AFLAGS += $(call cc-option, -no-integrated-as)
else

# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.build)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
endif


ifeq ($(mixed-targets),1)
# ===========================================================================
# We're called with mixed targets (*config and build targets).
Expand Down Expand Up @@ -644,7 +677,8 @@ KBUILD_CFLAGS += $(call cc-option,-fdata-sections,)
endif

ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
KBUILD_CFLAGS += $(call cc-option,-Oz,-Os)
KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
else
ifdef CONFIG_PROFILE_ALL_BRANCHES
KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,)
Expand Down Expand Up @@ -703,27 +737,6 @@ ifdef CONFIG_CC_STACKPROTECTOR
endif
KBUILD_CFLAGS += $(stackp-flag)

ifeq ($(cc-name),clang)
KBUILD_CPPFLAGS += $(call cc-option,-Qunused-arguments,)
KBUILD_CPPFLAGS += $(call cc-option,-Wno-unknown-warning-option,)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
# Quiet clang warning: comparison of unsigned expression < 0 is always false
KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the
# source of a reference will be _MergedGlobals and not on of the whitelisted names.
# See modpost pattern 2
KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
else

# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.build)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
endif

ifdef CONFIG_FRAME_POINTER
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
else
Expand Down Expand Up @@ -789,6 +802,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
# disable pointer signed / unsigned warnings in gcc 4.0
KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)

# disable stringop warnings in gcc 8+
KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)

# disable invalid "can't wrap" optimizations for signed / pointers
KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)

Expand Down Expand Up @@ -1379,6 +1395,8 @@ help:
@echo ' (default: $$(INSTALL_MOD_PATH)/lib/firmware)'
@echo ' dir/ - Build all files in dir and below'
@echo ' dir/file.[ois] - Build specified target only'
@echo ' dir/file.ll - Build the LLVM assembly file'
@echo ' (requires compiler support for LLVM assembly generation)'
@echo ' dir/file.lst - Build specified mixed source/assembly target only'
@echo ' (requires a recent binutils and recent build (System.map))'
@echo ' dir/file.ko - Build module including final link'
Expand Down Expand Up @@ -1563,6 +1581,7 @@ clean: $(clean-dirs)
-o -name '*.symtypes' -o -name 'modules.order' \
-o -name modules.builtin -o -name '.tmp_*.o.*' \
-o -name '*.c.[012]*.*' \
-o -name '*.ll' \
-o -name '*.gcno' \) -type f -print | xargs rm -f

# Generate tags for editors
Expand Down Expand Up @@ -1666,6 +1685,8 @@ endif
$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
%.symtypes: %.c prepare scripts FORCE
$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
%.ll: %.c prepare scripts FORCE
$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)

# Modules
/: prepare scripts FORCE
Expand Down
8 changes: 7 additions & 1 deletion arch/alpha/include/asm/termios.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,15 @@
})

#define user_termios_to_kernel_termios(k, u) \
copy_from_user(k, u, sizeof(struct termios))
copy_from_user(k, u, sizeof(struct termios2))

#define kernel_termios_to_user_termios(u, k) \
copy_to_user(u, k, sizeof(struct termios2))

#define user_termios_to_kernel_termios_1(k, u) \
copy_from_user(k, u, sizeof(struct termios))

#define kernel_termios_to_user_termios_1(u, k) \
copy_to_user(u, k, sizeof(struct termios))

#endif /* _ALPHA_TERMIOS_H */
5 changes: 5 additions & 0 deletions arch/alpha/include/uapi/asm/ioctls.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
#define TCXONC _IO('t', 30)
#define TCFLSH _IO('t', 31)

#define TCGETS2 _IOR('T', 42, struct termios2)
#define TCSETS2 _IOW('T', 43, struct termios2)
#define TCSETSW2 _IOW('T', 44, struct termios2)
#define TCSETSF2 _IOW('T', 45, struct termios2)

#define TIOCSWINSZ _IOW('t', 103, struct winsize)
#define TIOCGWINSZ _IOR('t', 104, struct winsize)
#define TIOCSTART _IO('t', 110) /* start output, like ^Q */
Expand Down
17 changes: 17 additions & 0 deletions arch/alpha/include/uapi/asm/termbits.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ struct termios {
speed_t c_ospeed; /* output speed */
};

/* Alpha has identical termios and termios2 */

struct termios2 {
tcflag_t c_iflag; /* input mode flags */
tcflag_t c_oflag; /* output mode flags */
tcflag_t c_cflag; /* control mode flags */
tcflag_t c_lflag; /* local mode flags */
cc_t c_cc[NCCS]; /* control characters */
cc_t c_line; /* line discipline (== c_cc[19]) */
speed_t c_ispeed; /* input speed */
speed_t c_ospeed; /* output speed */
};

/* Alpha has matching termios and ktermios */

struct ktermios {
Expand Down Expand Up @@ -147,6 +160,7 @@ struct ktermios {
#define B3000000 00034
#define B3500000 00035
#define B4000000 00036
#define BOTHER 00037

#define CSIZE 00001400
#define CS5 00000000
Expand All @@ -164,6 +178,9 @@ struct ktermios {
#define CMSPAR 010000000000 /* mark or space (stick) parity */
#define CRTSCTS 020000000000 /* flow control */

#define CIBAUD 07600000
#define IBSHIFT 16

/* c_lflag bits */
#define ISIG 0x00000080
#define ICANON 0x00000100
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ endmenu

choice
prompt "ARC Instruction Set"
default ISA_ARCOMPACT
default ISA_ARCV2

config ISA_ARCOMPACT
bool "ARCompact ISA"
Expand Down
Loading