Current code in CONFIG_X86_32_SMP is redundant.
Merge the raw_smp_processor_id() macro and refine the #if directive.
Signed-off-by: Dou Liyang
---
BTW, what's the purpose of
commit 96b89dc6598a ("x86: smp.h move safe_smp_processor_id declartion to
cpu.h")?
Reduce the impact of SMP on the com
From: Tetsuo Handa
Since several modules are planning to use per "struct task_struct" blob,
we need a layer for isolating it. Therefore, this patch introduces per LSM
module per "struct task_struct" blob.
It would be possible to remember location in security_hook_heads.task_alloc
list and undo u
This adds the ModAutoRestrict Linux Security Module. The new module
is a stackable LSM that has been tested with Yama and SELinux, all
the three modules running.
The module applies restrictions on automatic module loading operations.
If it is selected, every request to use a kernel feature that is
Cc: Andy Lutomirski
Cc: James Morris
Cc: Tetsuo Handa
Cc: Kees Cook
Signed-off-by: Djalal Harouni
---
Documentation/security/00-INDEX| 2 +
Documentation/security/ModAutoRestrict.txt | 77 ++
2 files changed, 79 insertions(+)
create mode 100644 Docume
Hi List,
This is RFC v2 of the Module auto-loading restriction feature. The
module has been renamed ModAutoRestrict LSM.
This RFC is a work in progress update.
There are still minor things to fix which are listed in the TODO
section. Also I used Tetsuo approach of stacking task->security, since
2017-04-09 2:40 GMT+09:00 Dmitry Vyukov :
> On Fri, Apr 7, 2017 at 6:47 PM, Akinobu Mita wrote:
>> 2017-04-07 3:33 GMT+09:00 Michal Hocko :
>>> [Let's add linux-api - please always cc this list when adding/modifying
>>> user visible interfaces]
>>>
>>> On Tue 28-03-17 15:01:28, Dmitry Vyukov wrote
On Sun, 9 Apr 2017 11:02:43 +0200
SF Markus Elfring wrote:
> >>> That caused ia64 module loader to choke
> >>> on such instructions:
> >>> fuse: invalid slot number 1 for IMM64
> >>
> >> Why does it matter to check such a value?
> >
> > I'm not sure I follow the question. Is your quest
On Mon 2017-03-06 12:23:41, Chris Wilson wrote:
> On Mon, Mar 06, 2017 at 01:10:48PM +0100, Pavel Machek wrote:
> > On Mon 2017-03-06 11:15:28, Chris Wilson wrote:
> > > On Mon, Mar 06, 2017 at 12:01:51AM +0100, Pavel Machek wrote:
> > > > Hi!
> > > >
> > > > > > mplayer stopped working after a wh
On Sat 2017-04-08 00:13:06, Sergey Senozhatsky wrote:
> On (04/07/17 14:44), Pavel Machek wrote:
> [..]
> > > [..]
> > > > I believe "spend at most 2 seconds in printk(), then print a warning
> > > > and offload" is a solution closer to what we had before.
> > >
> > > a warning here can be very no
On Fri 2017-04-07 10:29:17, Steven Rostedt wrote:
> On Fri, 7 Apr 2017 10:14:49 +0200
> Pavel Machek wrote:
>
> > > serial console can be quite slow. and port->lock, that is acquired by
> > > console_unlock()->call_console_drivers()->write(), is also accessible
> > > by serial driver's IRQ handle
Dear stable kernel maintainers,
Please consider commit
f17f8a14e82cdf34cd6473e3644f3c672b3884f6
to be included into 4.10 kernel. As long as it crashes
kernels used by some distors, we have to disable corresponding
functionality on the NFS servers.
Thanks in advance,
Tigran.
2017-04-09 16:26 GMT+08:00 Jan Engelhardt :
>
> On Sunday 2017-04-09 05:42, Arushi Singhal wrote:
>>On Sun, Apr 9, 2017 at 1:44 AM, Pablo Neira Ayuso wrote:
>> On Sat, Apr 08, 2017 at 08:21:56PM +0200, Jan Engelhardt wrote:
>> > On Saturday 2017-04-08 19:21, Arushi Singhal wrote:
>>
On 06/04/17 17:11, Fabrice Gasnier wrote:
> STM32 DAC has built-in noise or triangle waveform generator.
> - "wavetype" extended attribute selects noise or triangle.
> - "amplitude" extended attribute selects amplitude for waveform generator
>
> A DC offset can be added to waveform generator outpu
Hi Bart,
Thanks for reviewing the code.
> On 8 Apr 2017, at 22.56, Bart Van Assche wrote:
>
> On 04/07/17 11:50, Javier González wrote:
>> Documentation/lightnvm/pblk.txt | 21 +
>> drivers/lightnvm/Kconfig | 19 +
>> drivers/lightnvm/Makefile|5 +
>> drivers/lightnvm/pblk
On 06/04/17 17:11, Fabrice Gasnier wrote:
> STM32 DAC supports triggers to synchronize conversions. When trigger
> occurs, data is transferred from DHR (data holding register) to DOR
> (data output register) so output voltage is updated.
> Both hardware and software triggers are supported.
>
> Sig
>>> That caused ia64 module loader to choke
>>> on such instructions:
>>> fuse: invalid slot number 1 for IMM64
>>
>> Why does it matter to check such a value?
>
> I'm not sure I follow the question. Is your question about
> linux kernel relocation code handler, gcc or ia64 instruction forma
Acked-by: Sagi Grimberg
Acked-by: Sagi Grimberg
Acked-by: Sagi Grimberg
On Sat, Apr 08, 2017 at 10:33:19AM -0700, Joe Perches wrote:
> On Sat, 2017-04-08 at 17:07 +0100, Alfonso Lima wrote:
> > Hi,
> >
> > In current linux-next, if you run the script on this piece of
> > code:
> >
> > #define FOO(a) \
> > if (a) {
Acked-by: Sagi Grimberg
On Sun, 9 Apr 2017 10:27:52 +0200
SF Markus Elfring wrote:
> > That caused ia64 module loader to choke
> > on such instructions:
> > fuse: invalid slot number 1 for IMM64
>
> Why does it matter to check such a value?
I'm not sure I follow the question. Is your question about
linux kernel
On 06/04/17 17:11, Fabrice Gasnier wrote:
> Add 'set_trigger' callback to iio info structure. This allows device
> to be notified when a trigger (or no trigger) has been assigned. This
> maybe useful for instance in non buffered mode (e.g. event triggered).
> This is called, after trigger and devic
On 06/04/17 17:11, Fabrice Gasnier wrote:
> Add support for STMicroelectronics STM32 DAC. It's a 12-bit, voltage
> output digital-to-analog converter. It has two output channels, each
> with its own converter.
> It supports 8 bits or 12bits left/right aligned data format. Only
> 12bits right-aligne
> Starting from gcc-5.4+ gcc generates MLX
How do you think about to omit the plus character?
> instructions in more cases to refer local
> symbols:
I wonder about your choice of a line length limit here.
> That caused ia64 module loader to choke
> on such instructions:
> fuse: invalid sl
On Sunday 2017-04-09 05:42, Arushi Singhal wrote:
>On Sun, Apr 9, 2017 at 1:44 AM, Pablo Neira Ayuso wrote:
> On Sat, Apr 08, 2017 at 08:21:56PM +0200, Jan Engelhardt wrote:
> > On Saturday 2017-04-08 19:21, Arushi Singhal wrote:
> >
> > >Replace explicit NULL comparison with
The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8:
Linux 4.11-rc4 (2017-03-26 14:15:16 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/
tags/staging-4.11-rc6
for you to fetch changes up to 97fbfef6bd5
The following changes since commit c02ed2e75ef4c74e41e421acb4ef1494671585e8:
Linux 4.11-rc4 (2017-03-26 14:15:16 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/
tags/driver-core-4.11-rc6
for you to fetch changes up to 27f
According to the previous error handling code, it is likely that
'goto out_free_opp' is expected here in order to avoid a memory leak in
error handling path.
Signed-off-by: Christophe JAILLET
---
drivers/cpufreq/imx6q-cpufreq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
On Fri, 7 Apr 2017 15:49:23 +0900
Masahiro Yamada wrote:
> Hi Leonard,
>
> 2017-04-06 23:08 GMT+09:00 Leonard Crestez :
> > On Thu, Mar 30, 2017 at 11:15 AM, Masahiro Yamada
> > wrote:
> >>
> >> Some NAND controllers are using DMA engine requiring a specific
> >> buffer alignment. The core
On Sat, Apr 08, 2017 at 05:21:38PM +0100, Andrea della Porta wrote:
> Fixed unaligned function parameters issues, as per checkpatch warning
>
> Signed-off-by: Andrea della Porta
> ---
> Changes in v2:
> - subject line more explicit
> - checkpatch output removed as requested, summarized in one lin
201 - 231 of 231 matches
Mail list logo