Re: [PATCH v5 1/4] x86: switch atomic.h to use atomic-instrumented.h

2017-06-23 Thread Dmitry Vyukov
On Thu, Jun 22, 2017 at 11:14 PM, Andrew Morton wrote: > On Thu, 22 Jun 2017 16:14:16 +0200 Dmitry Vyukov wrote: > >> Add arch_ prefix to all atomic operations and include >> . This will allow >> to add KASAN instrumentation to all atomic ops. > > This gets a large number of (simple) rejects when

[PATCH] crypto: brcm - software fallback for cryptlen zero

2017-06-23 Thread Raveendra Padasalagi
Zero length payload requests are not handled in Broadcom SPU2 engine, so this patch adds conditional check to fallback to software implementation for AES-GCM and AES-CCM algorithms. Signed-off-by: Raveendra Padasalagi Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/crypto/bcm/ciphe

Re: [PATCH v3 1/3] dt-bindings: arm: amlogic: Add SoC information bindings

2017-06-23 Thread Neil Armstrong
On 06/22/2017 11:24 PM, Rob Herring wrote: > On Wed, Jun 14, 2017 at 02:05:44PM +0200, Neil Armstrong wrote: >> Add bindings for the SoC information register of the Amlogic SoCs. >> >> Signed-off-by: Neil Armstrong >> --- >> Documentation/devicetree/bindings/arm/amlogic.txt | 29 >> +

Re: [PATCH NET v2 0/2] Add loopback support in phy_driver and hns ethtool fix

2017-06-23 Thread Yunsheng Lin
My apology, this patch set have a bug in hns mac driver which is not calling phy_loopback enable and disable in pair, I will send a v3 to fix it. Please ignore this patch set. Best Regards Yunsheng Lin On 2017/6/23 15:54, Lin Yun Sheng wrote: > This Patch Set add set_loopback in phy_driver and us

Re: [PATCH 0/3] HID: multitouch: fix a corner case of some Win 8 devices

2017-06-23 Thread Jiri Kosina
On Thu, 15 Jun 2017, Benjamin Tissoires wrote: > It looks like the Microsft certification misses one case of released fingers. > > The (only) solution we can have against that is to wait for a hundred of ms, > and if no input report comes in, consider that the touches should have been > released.

Re: [PATCH v2 1/5] dt-bindings: add bindings for i2c-pca-platform

2017-06-23 Thread Wolfram Sang
On Thu, Jun 22, 2017 at 09:20:59PM +, Chris Packham wrote: > On 22/06/17 20:23, Wolfram Sang wrote: > > > >> + - reset-gpios : gpio specifier for gpio connected to RESET_N pin. > > > > What about the 'active' state that Rob mentioned in his last review? > > > > My intention was that by sayi

Re: [PATCH] f2fs: fix ref of discard command

2017-06-23 Thread Chao Yu
Hi Jaegeuk, On 2017/6/12 11:04, Jaegeuk Kim wrote: > This patch resolves kernel panic for xfstests/081, caused by recent > f2fs_bug_on > > f2fs: add f2fs_bug_on in __remove_discard_cmd > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/segment.c | 2 ++ > 1 file changed, 2 insertions(+) > > di

Re: [PATCH 0/4] Support new Alps HID I2C Touchpad device

2017-06-23 Thread Benjamin Tissoires
On May 11 2017 or thereabouts, Jiri Kosina wrote: > On Thu, 27 Apr 2017, Masaki Ota wrote: > > > Hi, Benjamin, > > > > I modified the patch and added the code that supports Alps USB Touchpad as > > PATCH 4/4. > > Hi, > > could you please reformat / extend the changelogs of individual commits a

Re: [PATCH] bcache: release the allocated id, not its multiple of BCACHE_MINORS

2017-06-23 Thread Coly Li
On 2017/6/23 下午3:15, Liang Chen wrote: > The id passed to ida_simple_remove has to be the one originally > allocated with ida_simple_get, not the one after multipling by > BCACHE_MINORS. > > Signed-off-by: Liang Chen > --- > drivers/md/bcache/super.c | 5 +++-- > 1 file changed, 3 insertions(+),

Re: [PATCH v6 0/2] IV Generation algorithms for dm-crypt

2017-06-23 Thread Herbert Xu
Binoy Jayan wrote: > === > dm-crypt optimization for larger block sizes > === > > Currently, the iv generation algorithms are implemented in dm-c

Re: [PATCH] RAS: Fix an error checking test in 'create_debugfs_nodes()'

2017-06-23 Thread Borislav Petkov
On Fri, Jun 23, 2017 at 08:24:40AM +0200, Christophe JAILLET wrote: > 'decay' is kwown to be not NULL at this point. > 'count' should be tested instead. > > Fixes: 011d82611172 ("RAS: Add a Corrected Errors Collector") > Signed-off-by: Christophe JAILLET > --- > drivers/ras/cec.c | 2 +- > 1 fil

[PATCH] f2fs: stop discard thread in prior during umount

2017-06-23 Thread Chao Yu
This patch resolves kernel panic for xfstests/081, caused by recent f2fs_bug_on f2fs: add f2fs_bug_on in __remove_discard_cmd For fixing, we will stop discard thread in prior in put_super, in order to avoid racing in between referrer and releaser. Signed-off-by: Jaegeuk Kim Signed-off-by: Chao

Re: [PATCH] kdb: remove unnecessary variable assignment in kdb_bc()

2017-06-23 Thread Daniel Thompson
On 22/06/17 23:41, Gustavo A. R. Silva wrote: Value assigned to variable _bp_ at line 415 is the same as at line 434. This makes such variable assignment unnecessary. Addresses-Coverity-ID: 1227025 Signed-off-by: Gustavo A. R. Silva Reviewed-by: Daniel Thompson --- kernel/debug/kdb/kdb_b

Re: [PATCH v6 2/8] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-06-23 Thread jmondi
Hi Rob, On Thu, Jun 22, 2017 at 04:09:17PM -0500, Rob Herring wrote: > On Thu, Jun 22, 2017 at 04:54:30PM +0200, Jacopo Mondi wrote: > > Add device tree bindings documentation for Renesas RZ/A1 gpio and pin > > controller. > > > > Signed-off-by: Jacopo Mondi > > --- > > .../bindings/pinctrl/rene

Re: [PATCH 3/7] staging: ccree: add support for older HW revisions

2017-06-23 Thread kbuild test robot
-Yossef/staging-ccree-bug-fixes-and-TODO-items-for-4-13/20170623-134445 config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [GIT PULL 0/1] perf probe fix

2017-06-23 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit fb3a5055cd7098f8d1dd0cd38d717223255f: > > perf/x86/intel: Add 1G DTLB load/store miss support for

Re: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-06-23 Thread Thomas Gleixner
On Thu, 22 Jun 2017, Don Zickus wrote: > On Wed, Jun 21, 2017 at 11:53:57PM +0200, Thomas Gleixner wrote: > > On Wed, 21 Jun 2017, kan.li...@intel.com wrote: > > > We now have more and more systems where the Turbo range is wide enough > > > that the NMI watchdog expires faster than the soft watchdo

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-23 Thread Zhi Wang
Hi: Thanks for the discussions! If the userspace application has already maintained a LRU list, it looks like we don't need generation anymore, as userspace application will lookup the guest framebuffer from the LRU list by "offset". No matter how, it would know if this is a new guest fram

Re: [GIT PULL 2/2] ARM: defconfig: Topic branch with defconfig cleanup for v4.13

2017-06-23 Thread Arnd Bergmann
On Mon, Jun 19, 2017 at 6:05 PM, Krzysztof Kozlowski wrote: > > ARM defconfig cleanup: > 1. Remove old Kconfig options from all ARM configs, > 2. Update Samsung defconfigs to bring back options over time got disabled >for some re

Re: [UBSAN] iwlmvm's iwl_mvm_enable_txq accesses IEEE80211_INVAL_HW_QUEUE

2017-06-23 Thread Johannes Berg
On Fri, 2017-06-23 at 09:48 +0200, Jiri Slaby wrote: > > mac80211_queue is 255 which is IEEE80211_INVAL_HW_QUEUE, so it should > not be worked with at all. Funny you should find this today :-) > The invalid queue is hopefully handled in ieee80211_check_queues > after > drv_add_interface in ieee8

Re: [PATCH] edac: pnd2_edac: add code comment for clarification and update variable assignment

2017-06-23 Thread Borislav Petkov
On Thu, Jun 22, 2017 at 05:05:35PM -0500, Gustavo A. R. Silva wrote: > Add code comment to make it clear that the fall-through is intentional and, > OR ret with its previous value to avoid overwriting it. > > Cc: Borislav Petkov > Signed-off-by: Gustavo A. R. Silva > --- > drivers/edac/pnd2_eda

Re: [PATCH 1/1] futex: remove duplicated code and fix UB

2017-06-23 Thread Thomas Gleixner
On Wed, 21 Jun 2017, Jiri Slaby wrote: > diff --git a/arch/arm64/include/asm/futex.h b/arch/arm64/include/asm/futex.h > index f32b42e8725d..5bb2fd4674e7 100644 > --- a/arch/arm64/include/asm/futex.h > +++ b/arch/arm64/include/asm/futex.h > @@ -48,20 +48,10 @@ do {

[UBSAN] iwlmvm's iwl_mvm_enable_txq accesses IEEE80211_INVAL_HW_QUEUE

2017-06-23 Thread Jiri Slaby
Hi, we have got an UBSAN report from opensuse's user who booten UBSAN-enabled kernel by mistake: UBSAN: Undefined behaviour in drivers/net/wireless/intel/iwlwifi/mvm/utils.c:667:49 shift exponent 255 is too large for 64-bit type 'long unsigned int' CPU: 2 PID: 1590 Comm: wpa_supplicant Not tainted

Re: [PATCH v5 2/2] arm64: dts: renesas: salvator-x: Add ADV7482 support

2017-06-23 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Wednesday 14 Jun 2017 20:58:13 Kieran Bingham wrote: > From: Kieran Bingham > > The Salvator boards use an ADV7482 receiver for HDMI and CVBS inputs. > > Provide ADV7482 node on the i2c4 bus, along with connectors for the > hdmi and cvbs inputs, and link

[tip:smp/hotplug] powerpc: Only obtain cpu_hotplug_lock if called by rtasd

2017-06-23 Thread tip-bot for Thiago Jung Bauermann
Commit-ID: 3e401f7a2e5199151f735aee6a5c6b4776e6a35e Gitweb: http://git.kernel.org/tip/3e401f7a2e5199151f735aee6a5c6b4776e6a35e Author: Thiago Jung Bauermann AuthorDate: Tue, 20 Jun 2017 19:08:30 -0300 Committer: Thomas Gleixner CommitDate: Fri, 23 Jun 2017 09:32:11 +0200 powerpc: Only

[patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Mike Galbraith
V2 changes:   - beautification (ymmv)   - enable lock stealing when waiter is queued rtmutex: Fix lock stealing logic 1. When trying to acquire an rtmutex, we first try to grab it without queueing the waiter, and explicitly check for that initial attempt in the !waiter path of __try_to_take_rt_mu

[PATCH] staging: unisys: visorbus: constify channel_attr_grp and dev_attr_grp

2017-06-23 Thread Arvind Yadav
File size before: textdata bss dec hex filename 6712 960 52181932001 drivers/staging/unisys/visorbus/visorbus_main.o File size After adding 'const': textdata bss dec hex filename 6840 832 52181932001 drivers/staging/unis

Re: [PATCH RESEND 09/13] platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI

2017-06-23 Thread Thierry Escande
Hi Benson, On 22/06/2017 21:35, Benson Leung wrote: + adev = ACPI_COMPANION(dev); + if (adev) { + status = acpi_install_notify_handler(adev->handle, +ACPI_ALL_NOTIFY, Is there a reason you're using ACPI_ALL_NOTIFY

Re: [PATCH 1/7] drm/bridge: Support hotplugging panel-bridge.

2017-06-23 Thread Boris Brezillon
On Fri, 23 Jun 2017 09:22:15 +0200 Andrzej Hajda wrote: > On 22.06.2017 15:34, Boris Brezillon wrote: > > On Thu, 22 Jun 2017 15:16:47 +0200 > > Andrzej Hajda wrote: > > > >> On 22.06.2017 14:41, Boris Brezillon wrote: > >>> On Thu, 22 Jun 2017 14:29:07 +0200 > >>> Andrzej Hajda wrote: > >>

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-23 Thread Maxime Ripard
Hi, On Tue, Jun 13, 2017 at 06:05:57PM +0800, Chen-Yu Tsai wrote: > > That's not true. DE1's can output to several TCONs (or rather, TCONs > > can select multiple engines as their input). The A31 for example is in > > this case. > > Actually that's not true. The TCON is bound to the backend. I do

Re: [PATCH v3 11/11] x86/mm: Try to preserve old TLB entries using PCID

2017-06-23 Thread Thomas Gleixner
On Thu, 22 Jun 2017, Andy Lutomirski wrote: > On Thu, Jun 22, 2017 at 2:22 PM, Thomas Gleixner wrote: > > On Thu, 22 Jun 2017, Andy Lutomirski wrote: > >> On Thu, Jun 22, 2017 at 5:21 AM, Thomas Gleixner > >> wrote: > >> > Now one other optimization which should be trivial to add is to keep the

[PATCH] kbuild: improve comments on KBUILD_SRC

2017-06-23 Thread Cao jin
Original comments is confusing on "OBJ directory", make it clear. Bonus: move comments close to what it want to comment. Signed-off-by: Cao jin --- Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 57df756..81c0df9 100644 --- a/Makefile

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-23 Thread Gerd Hoffmann
Hi, > Is this only going to support accelerated driver output, not basic > VGA > modes for BIOS interaction? Right now there is no vgabios or uefi support for the vgpu. But even with that in place there still is the problem that the display device initialization happens before the guest runs a

Re: [PATCH v2] iio: adc: Add support for DLN2 ADC

2017-06-23 Thread Peter Meerwald-Stadler
> This patch adds support for Diolan DLN2 ADC via IIO's ADC interface. > ADC is the fourth and final component of the DLN2 for the kernel. I am missing a changelog or information if and how review comments have been addressed thanks for the super-fast turnaround, anyway p. > Signed-off-by: Ja

Re: [PATCH 01/14] staging: fsl-mc: drop macros with possible side effects

2017-06-23 Thread Laurentiu Tudor
Hi Joe, On 06/22/2017 07:07 PM, Joe Perches wrote: > On Thu, 2017-06-22 at 16:35 +0300, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> Several macros were triggering this checkpatch.pl warning: >>"Macro argument reuse '$arg' - possible side-effects?" >> Fix the warning by turni

[PATCH NET v2 0/2] Add loopback support in phy_driver and hns ethtool fix

2017-06-23 Thread Lin Yun Sheng
This Patch Set add set_loopback in phy_driver and use it to setup loopback when doing ethtool phy self_test. Patch V2: 1. Add phy_loopback in phy_device.c. 2. Do error checking and do the read and write once in genphy_loopback. 3. Remove gen10g_loopback in phy_device.c. Pa

[PATCH NET v2 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-06-23 Thread Lin Yun Sheng
Use function set_loopback in phy_driver to setup phy loopback when doing ethtool self test. Signed-off-by: Lin Yun Sheng --- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 68 +--- 1 file changed, 14 insertions(+), 54 deletions(-) diff --git a/drivers/net/ethernet/hisili

[PATCH NET v2 1/2] net: phy: Add phy loopback support in net phy framework

2017-06-23 Thread Lin Yun Sheng
This patch add set_loopback in phy_driver, which is used by Mac driver to enable or disable a phy. it also add a generic genphy_loopback function, which use BMCR loopback bit to enable or disable a phy. Signed-off-by: Lin Yun Sheng --- drivers/net/phy/marvell.c| 1 + drivers/net/phy/phy_dev

Re: [PATCH 1/7] drm/bridge: Support hotplugging panel-bridge.

2017-06-23 Thread Andrzej Hajda
On 22.06.2017 15:34, Boris Brezillon wrote: > On Thu, 22 Jun 2017 15:16:47 +0200 > Andrzej Hajda wrote: > >> On 22.06.2017 14:41, Boris Brezillon wrote: >>> On Thu, 22 Jun 2017 14:29:07 +0200 >>> Andrzej Hajda wrote: >>> On 22.06.2017 11:23, Boris Brezillon wrote: > On Thu, 22 Jun 20

[PATCH -mm -v2 06/12] Test code to write THP to swap device as a whole

2017-06-23 Thread Huang, Ying
From: Huang Ying To support to delay splitting THP (Transparent Huge Page) after swapped out. We need to enhance swap writing code to support to write a THP as a whole. This will improve swap write IO performance. As Ming Lei pointed out, this should be based on multipage bvec support, which

[PATCH -mm -v2 02/12] mm, THP, swap: Support to reclaim swap space for THP swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying The normal swap slot reclaiming can be done when the swap count reaches SWAP_HAS_CACHE. But for the swap slot which is backing a THP, all swap slots backing one THP must be reclaimed together, because the swap slot may be used again when the THP is swapped out again later. So th

[PATCH -mm -v2 01/12] mm, THP, swap: Support to clear swap cache flag for THP swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying Previously, swapcache_free_cluster() is used only in the error path of shrink_page_list() to free the swap cluster just allocated if the THP (Transparent Huge Page) is failed to be split. In this patch, it is enhanced to clear the swap cache flag (SWAP_HAS_CACHE) for the swap cl

[PATCH -mm -v2 05/12] block, THP: Make block_device_operations.rw_page support THP

2017-06-23 Thread Huang, Ying
From: Huang Ying The .rw_page in struct block_device_operations is used by the swap subsystem to read/write the page contents from/into the corresponding swap slot in the swap device. To support the THP (Transparent Huge Page) swap optimization, the .rw_page is enhanced to support to read/write

[PATCH -mm -v2 11/12] mm, THP, swap: Delay splitting THP after swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying In this patch, splitting transparent huge page (THP) during swapping out is delayed from after adding the THP into the swap cache to after swapping out finishes. After the patch, more operations for the anonymous THP reclaiming, such as writing the THP to the swap device, removi

[PATCH -mm -v2 00/12] mm, THP, swap: Delay splitting THP after swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Johannes and Minchan, Thanks a lot for your review to the first step of the THP swap optimization! Could you help me to review the second step in this patchset? Hi, Hugh, Shaohua, Minchan and

[PATCH -mm -v2 03/12] mm, THP, swap: Make reuse_swap_page() works for THP swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying After supporting to delay THP (Transparent Huge Page) splitting after swapped out, it is possible that some page table mappings of the THP are turned into swap entries. So reuse_swap_page() need to check the swap count in addition to the map count as before. This patch done tha

[PATCH -mm -v2 10/12] memcg, THP, swap: Make mem_cgroup_swapout() support THP

2017-06-23 Thread Huang, Ying
From: Huang Ying This patch makes mem_cgroup_swapout() works for the transparent huge page (THP). Which will move the memory cgroup charge from memory to swap for a THP. This will be used for the THP swap support. Where a THP may be swapped out as a whole to a set of (HPAGE_PMD_NR) continuous

[PATCH] bcache: release the allocated id, not its multiple of BCACHE_MINORS

2017-06-23 Thread Liang Chen
The id passed to ida_simple_remove has to be the one originally allocated with ida_simple_get, not the one after multipling by BCACHE_MINORS. Signed-off-by: Liang Chen --- drivers/md/bcache/super.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c

[PATCH -mm -v2 09/12] memcg, THP, swap: Avoid to duplicated charge THP in swap cache

2017-06-23 Thread Huang, Ying
From: Huang Ying For a THP (Transparent Huge Page), tail_page->mem_cgroup is NULL. So to check whether the page is charged already, we need to check the head page. This is not an issue before because it is impossible for a THP to be in the swap cache before. But after we add delaying splitting

[PATCH -mm -v2 07/12] mm, THP, swap: Support to split THP for THP swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying After adding swapping out support for THP (Transparent Huge Page), it is possible that a THP in swap cache (partly swapped out) need to be split. To split such a THP, the swap cluster backing the THP need to be split too, that is, the CLUSTER_FLAG_HUGE flag need to be cleared fo

[PATCH -mm -v2 04/12] mm, THP, swap: Don't allocate huge cluster for file backed swap device

2017-06-23 Thread Huang, Ying
From: Huang Ying It's hard to write a whole transparent huge page (THP) to a file backed swap device during swapping out and the file backed swap device isn't very popular. So the huge cluster allocation for the file backed swap device is disabled. Signed-off-by: "Huang, Ying" Cc: Johannes Wei

[PATCH -mm -v2 12/12] mm, THP, swap: Add THP swapping out fallback counting

2017-06-23 Thread Huang, Ying
From: Huang Ying When swapping out THP (Transparent Huge Page), instead of swapping out the THP as a whole, sometimes we have to fallback to split the THP into normal pages before swapping, because no free swap clusters are available, or cgroup limit is exceeded, etc. To count the number of the

[PATCH -mm -v2 08/12] memcg, THP, swap: Support move mem cgroup charge for THP swapped out

2017-06-23 Thread Huang, Ying
From: Huang Ying PTE mapped THP (Transparent Huge Page) will be ignored when moving memory cgroup charge. But for THP which is in the swap cache, the memory cgroup charge for the swap of a tail-page may be moved in current implementation. That isn't correct, because the swap charge for all sub-

linux-next: Tree for Jun 23

2017-06-23 Thread Stephen Rothwell
Hi all, Changes since 20170622: Removed tree: dma-mapping Renamed tree: dma-mapping-hch to dma-mapping The net-next tree gained a conflict against the net tree. The sound-asoc tree gained a conflict against the pm tree. The block tree gained a conflict against Linus' tree. The devicetree tree

[PATCH v2] qla2xxx: Protect access to qpair members with qpair->qp_lock

2017-06-23 Thread Johannes Thumshirn
In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the qpair->qp_lock but do access members of the qpair before having the lock. Re-order the locking sequence to have all read and write access to qpair members under the qpair->qp_lock. Signed-off-by: Johannes Thumshirn --- drivers/

Re: linux-next: build failure after merge of most trees

2017-06-23 Thread Stephen Rothwell
Hi, On Fri, 23 Jun 2017 06:46:53 + wrote: > > > -Original Message- > > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > > Sent: Friday, June 23, 2017 3:43 PM > > To: David Miller > > Cc: npig...@gmail.com; linux-n...@vger.kernel.org; > > linux-kernel@vger.kernel.org; Yamada, M

Re: [PATCH 0/3] Enable namespaced file capabilities

2017-06-23 Thread Amir Goldstein
On Thu, Jun 22, 2017 at 9:59 PM, Stefan Berger wrote: > This series of patches primary goal is to enable file capabilities > in user namespaces without affecting the file capabilities that are > effective on the host. This is to prevent that any unprivileged user > on the host maps his own uid to

Re: [PATCH 3/4] powerpc: Reduce ELF_ET_DYN_BASE

2017-06-23 Thread Michael Ellerman
Kees Cook writes: > Now that explicitly executed loaders are loaded in the mmap region, > position PIE binaries lower in the address space to avoid possible > collisions with mmap or stack regions. For 64-bit, align to 4GB to > allow runtimes to use the entire 32-bit address space for 32-bit > po

<    3   4   5   6   7   8