[PATCH] vt: change SGR 21 to follow the standards

2018-01-29 Thread Mike Frysinger
From: Mike Frysinger ECMA-48 [1] (aka ISO 6429) has defined SGR 21 as "doubly underlined" since at least March 1984. The Linux kernel has treated it as SGR 22 "normal intensity" since it was added in Linux-0.96b in June 1992. Before that, it was simply ignored. Other ter

Re: [PATCH] groups: don't return unmapped gids in getgroups(2)

2017-02-17 Thread Mike Frysinger
On Fri, Feb 17, 2017 at 12:53 PM, Aleksa Sarai wrote: > One thing overlooked by commit 9cc46516ddf4 ("userns: Add a knob to > disable setgroups on a per user namespace basis") is that because > setgroups(2) no longer works in user namespaces it doesn't make any > sense to be ret

Re: seccomp: dump core when using SECCOMP_RET_KILL

2017-01-24 Thread Mike Frysinger
) +++ > 767 +++ killed by SIGSYS (core dumped) +++ > 766 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSYS && > WCOREDUMP(s)}], 0, NULL) = 31 > 766 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=31, si_ > > Steps to reprodu

Re: [PATCH] seccomp: dump core when using SECCOMP_RET_KILL

2017-01-22 Thread Mike Frysinger
On Sun, Jan 22, 2017 at 4:10 PM, James Morris wrote: > On Fri, 20 Jan 2017, Kees Cook wrote: > > Yup, I think this is fine. The additional kernel code executed before > > the do_exit() is relatively limited, and is equivalent to leaving > > kill(self, SIGSEGV) exposed in a seccomp filter. Setting a

[PATCH] seccomp: dump core when using SECCOMP_RET_KILL

2017-01-19 Thread Mike Frysinger
From: Mike Frysinger The SECCOMP_RET_KILL mode is documented as immediately killing the process as if a SIGSYS had been sent and not caught (similar to a SIGKILL). However, a SIGSYS is documented as triggering a coredump which does not happen today. This has the advantage of being able to more

[PATCH] uapi: mqueue.h: add missing linux/types.h include

2017-01-19 Thread Mike Frysinger
From: Mike Frysinger Commit 63159f5dcccb3858d88aaef800c4ee0eb4cc8577 changed the types from long to __kernel_long_t, but didn't add a linux/types.h include. Code that tries to include this header directly breaks: /usr/include/linux/mqueue.h:26:2: error: unknown type name '__ker

[PATCH] timerfd: export defines to userspace

2016-12-18 Thread Mike Frysinger
Since userspace is expected to call timerfd syscalls directly with these flags/ioctls, make sure we export them so they don't have to duplicate the values themselves. Acked-by: Thomas Gleixner Signed-off-by: Mike Frysinger --- ping -- this was sent about two years ago now include/

Re: [glibc] preadv/pwritev question

2016-05-31 Thread Mike Frysinger
On 31 May 2016 17:00, Chris Metcalf wrote: > On 5/31/2016 4:04 PM, Yury Norov wrote: > > In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add > > this: > > +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c > > > > [...] > > > > +static ssize_t > > +do_preadv (int fd, const st

Re: [PATCH] parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls

2016-04-26 Thread Mike Frysinger
On 27 Apr 2016 04:56, Dmitry V. Levin wrote: > Do not load one entry beyond the end of the syscall table when the > syscall number of a traced process equals to __NR_Linux_syscalls. > Similar bug with regular processes was fixed by commit 3bb457af4fa8 > ("[PARISC] Fix bug when syscall nr is __NR_Li

[PATCH] uapi: mqueue.h: add missing linux/types.h include

2015-10-28 Thread Mike Frysinger
From: Mike Frysinger Commit 63159f5dcccb3858d88aaef800c4ee0eb4cc8577 changed the types from long to __kernel_long_t, but didn't add a linux/types.h include. Code that tries to include this header directly breaks: /usr/include/linux/mqueue.h:26:2: error: unknown type name '__ker

Re: [PATCH] userns/capability: Add user namespace capability

2015-10-18 Thread Mike Frysinger
On 18 Oct 2015 22:13, Tobias Markus wrote: > On 17.10.2015 22:17, Richard Weinberger wrote: > > On Sat, Oct 17, 2015 at 5:58 PM, Tobias Markus wrote: > >> One question remains though: Does this break userspace executables that > >> expect being able to create user namespaces without priviledge? Si

Re: handling of supplemental groups with userns

2015-09-28 Thread Mike Frysinger
On 22 Sep 2015 17:52, Mike Frysinger wrote: > On 22 Sep 2015 14:40, Eric W. Biederman wrote: > > Mike Frysinger writes: > > > in the mean time, a "quick" fix might be to change new_idmap_permitted > > > to walk all the extents, and if all the ranges are s

Re: handling of supplemental groups with userns

2015-09-22 Thread Mike Frysinger
On 22 Sep 2015 14:40, Eric W. Biederman wrote: > Mike Frysinger writes: > > is it possible to map in supplemental groups in a userns when the user > > lacks setgid/etc... capabilities in the parent ns ? it doesn't seem > > like it's currently possible, but is

handling of supplemental groups with userns

2015-09-22 Thread Mike Frysinger
is it possible to map in supplemental groups in a userns when the user lacks setgid/etc... capabilities in the parent ns ? it doesn't seem like it's currently possible, but is there a reason to not enable it ? basically i have a build tool that i want to isolate a bit, but it requires access to s

[PATCH] elf-em.h: move EM_MICROBLAZE to the common header

2015-08-18 Thread Mike Frysinger
isn't defined when we try to use the AUDIT_ARCH_MICROBLAZE symbol. Signed-off-by: Mike Frysinger --- arch/microblaze/include/uapi/asm/elf.h | 3 ++- include/uapi/linux/elf-em.h| 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/microblaze/include/uapi/asm/elf

Re: [PATCH v2 1/3] vt: add cursor blink interval escape sequence

2015-03-27 Thread Mike Frysinger
On 26 Mar 2015 13:54, Scot Doyle wrote: > Add an escape sequence to specify the current console's cursor blink > interval. The interval is specified as a number of milliseconds until > the next cursor display state toggle, from 50 to 65535. /proc/loadavg > did not show a difference with a one msec

[PATCH] netlink: drop (int) cast on length arg in NLMSG_OK

2015-03-04 Thread Mike Frysinger
ger expressions [-Wsign-compare] Lets drop the int cast on the first sizeof. This way, once the user casts len to an unsigned value, everything shakes out correctly. Signed-off-by: Mike Frysinger --- include/uapi/linux/netlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/incl

[PATCH] MAINTAINERS: fix file encoding

2015-02-28 Thread Mike Frysinger
This file is largely UTF-8 except for this one entry which is ISO-8859-1. By mixing the encodings, grep thinks the file is binary. Signed-off-by: Mike Frysinger --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index eaf9996..7ee86dd

Re: Bug#772807: binfmt-support: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument

2014-12-30 Thread Mike Frysinger
On 12 Dec 2014 06:01, Al Viro wrote: > On Fri, Dec 12, 2014 at 02:51:55PM +1030, Arthur Marsh wrote: > > 6b899c4e9a049dfca759d990bd53b14f81c3626c is the first bad commit > > commit 6b899c4e9a049dfca759d990bd53b14f81c3626c > > Author: Mike Frysinger > > Date: Wed

[PATCH] timerfd: export defines to userspace

2014-12-30 Thread Mike Frysinger
Since userspace is expected to call timerfd syscalls directly with these flags/ioctls, make sure we export them so they don't have to duplicate the values themselves. Signed-off-by: Mike Frysinger --- include/linux/timerfd.h | 20 +--- include/uapi/linux/Kbuild

Re: [PATCH 1/2 v2] binfmt_misc: add comments & debug logs

2014-10-28 Thread Mike Frysinger
On 28 Oct 2014 15:58, Andrew Morton wrote: > On Mon, 20 Oct 2014 19:54:14 -0400 Mike Frysinger wrote: > > On 20 Oct 2014 15:59, Joe Perches wrote: > > > On Mon, 2014-10-20 at 18:45 -0400, Mike Frysinger wrote: > > > > diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc

Re: [PATCH 1/2 v2] binfmt_misc: add comments & debug logs

2014-10-20 Thread Mike Frysinger
On 20 Oct 2014 15:59, Joe Perches wrote: > On Mon, 2014-10-20 at 18:45 -0400, Mike Frysinger wrote: > > diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c > [] > > @@ -323,46 +343,113 @@ static Node *create_entry(const char __user *buffer, > > size_t count) > [] > >

[PATCH 2/2 v2] binfmt_misc: clean up code style a bit

2014-10-20 Thread Mike Frysinger
Clean up various coding style issues that checkpatch complains about. No functional changes here. Signed-off-by: Mike Frysinger --- v2 - rebased fs/binfmt_misc.c | 295 +++ 1 file changed, 146 insertions(+), 149 deletions(-) diff

[PATCH 1/2 v2] binfmt_misc: add comments & debug logs

2014-10-20 Thread Mike Frysinger
misc: register: flag: C (preserve creds) The [raw] lines show us exactly what was received from userspace. The lines after that show us how the kernel has decoded things. Signed-off-by: Mike Frysinger --- v2: - add explicit trailing \n to all the pr_debug lines

Re: [PATCH 1/2] binfmt_misc: add comments & debug logs

2014-10-20 Thread Mike Frysinger
On 19 Oct 2014 17:41, Joe Perches wrote: > On Sun, 2014-10-19 at 19:03 -0400, Mike Frysinger wrote: > > let's deploy extensive pr_debug markers at > > logical parse points, and add comments to the dense parsing logic. > [] > > diff --git a/fs/binfmt_misc.c b/fs/binf

[PATCH 1/2] binfmt_misc: add comments & debug logs

2014-10-19 Thread Mike Frysinger
misc: register: flag: C (preserve creds) The [raw] lines show us exactly what was received from userspace. The lines after that show us how the kernel has decoded things. Signed-off-by: Mike Frysinger --- fs/binfmt_misc.c | 136 +-- 1 file

[PATCH 2/2] binfmt_misc: clean up code style a bit

2014-10-19 Thread Mike Frysinger
Clean up various coding style issues that checkpatch complains about. No functional changes here. Signed-off-by: Mike Frysinger --- fs/binfmt_misc.c | 295 +++ 1 file changed, 146 insertions(+), 149 deletions(-) diff --git a/fs/binfmt_misc.c

[PATCH 1/2] binfmt_misc: expand the register format limit to 1920 bytes

2014-09-01 Thread Mike Frysinger
rent code stuffs more than one structure into the same buffer, we leave a bit of space to easily round up to 2k. 1920 is just as arbitrary as 256 ;). Signed-off-by: Mike Frysinger --- Documentation/binfmt_misc.txt | 2 +- fs/binfmt_misc.c | 19 +-- 2 files chang

[PATCH 2/2] binfmt_misc: touch up documentation a bit

2014-09-01 Thread Mike Frysinger
Line wrap the content to 80 cols, and add more details to various fields to match the code. Drop reference to a website that does not exist anymore. Signed-off-by: Mike Frysinger --- Documentation/binfmt_misc.txt | 48 +-- 1 file changed, 28 insertions

Re: [RFA][PATCH 24/27] Blackfin: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Mike Frysinger
but the asm looks correct -- it's only using scratch registers, and the rest of the code doesn't rely on the state in that ifdef (by design). Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

[tip:x86/x32] x86, x32: Use compat shims for io_{setup,submit}

2014-05-04 Thread tip-bot for Mike Frysinger
Commit-ID: 7fd44dacdd803c0bbf38bf478d51d280902bb0f1 Gitweb: http://git.kernel.org/tip/7fd44dacdd803c0bbf38bf478d51d280902bb0f1 Author: Mike Frysinger AuthorDate: Sun, 4 May 2014 20:43:15 -0400 Committer: H. Peter Anvin CommitDate: Sun, 4 May 2014 17:49:22 -0700 x86, x32: Use compat

[PATCH] x32: use compat shims for io_{setup,submit}

2014-05-04 Thread Mike Frysinger
don't convert io_getevents to the compat func as its only purpose is to handle the timespec struct, and the x32 ABI uses 64bit times. With this change, the libaio package can now pass its testsuite when built for the x32 ABI. Signed-off-by: Mike Frysinger --- arch/x86/syscalls/syscall_

Re: For review: open_by_name_at(2) man page [v2]

2014-03-18 Thread Mike Frysinger
On Tue 18 Mar 2014 13:55:15 Michael Kerrisk wrote: > The > .I flags > argument is a bit mask constructed by ORing together > zero or more of the following value: > .TP > .B AT_EMPTY_PATH > Allow > .I pathname > to be an empty string. > See above. > (which may have been obtained using the > .BR open

[PATCH] uapi: dn: pull in ioctl.h header

2014-01-21 Thread Mike Frysinger
This header uses _IOW/_IOR defines but doesn't include ioctl.h for it. If you try to use this w/out including ioctl.h yourself, it can fail to build, so add the explicit include. Signed-off-by: Mike Frysinger --- include/uapi/linux/dn.h | 1 + 1 file changed, 1 insertion(+) diff --

[PATCH] uapi: ppp-ioctl.h: pull in ppp_defs.h

2014-01-21 Thread Mike Frysinger
de by hand. Signed-off-by: Mike Frysinger --- include/uapi/linux/ppp-ioctl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/ppp-ioctl.h b/include/uapi/linux/ppp-ioctl.h index 2d9a885..63a23a3 100644 --- a/include/uapi/linux/ppp-ioctl.h +++ b/include/uapi/linux/ppp-ioctl.

[PATCH] uapi: convert u64 to __u64 in exported headers

2014-01-21 Thread Mike Frysinger
The u64 type is not defined in any exported kernel headers, so trying to use it will lead to build failures. Signed-off-by: Mike Frysinger --- include/uapi/linux/nfs4.h | 2 +- include/uapi/linux/perf_event.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include

Re: blackfin + dmaengine: conflicting define/enum "DMA_COMPLETE"

2014-01-17 Thread Mike Frysinger
On Saturday 11 January 2014 13:55:15 Marc Kleine-Budde wrote: > On 01/11/2014 07:31 PM, Randy Dunlap wrote: > > On 01/11/2014 10:09 AM, Marc Kleine-Budde wrote: > >> Hello, > >> > >> in current linux-next (and net-next) the compilation of the CAN > >> > >> drivers[1] with ARCH=blackfin fails with

Re: [PATCH] blackfin: Ignore generated uImages

2013-08-28 Thread Mike Frysinger
On Monday 26 August 2013 07:59:05 Mark Brown wrote: > On Sat, Aug 24, 2013 at 06:01:44PM -0400, Mike Frysinger wrote: > > Acked-by: Mike Frysinger > > Thanks. Do you know who might be likely to apply this - MAINTAINERS > lists you? looks like they haven't updated the MA

Re: [trivial PATCH] treewide: Fix printks with 0x%#

2013-08-26 Thread Mike Frysinger
On Thursday 25 July 2013 14:53:25 Joe Perches wrote: > Using 0x%# emits 0x0x. Only one is necessary. sounds like a job for checkpatch.pl :) -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH] ARM: Add ".text.unlikely" and ".text.hot" to arm unwind tables

2013-08-24 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH] blackfin: Ignore generated uImages

2013-08-24 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH] Omnikey Cardman 4000: pull in ioctl.h in user header

2013-08-24 Thread Mike Frysinger
On Thursday 22 August 2013 18:55:45 Andrew Morton wrote: > On Fri, 16 Aug 2013 14:07:09 -0400 Mike Frysinger wrote: > > This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h > > for the definitions. > > > > ... > > > > --- a/include/uapi/l

Re: [PATCH v2 0/8] turbostat: Build fixes, 32-bit support, and cleanups

2013-08-20 Thread Mike Frysinger
Acked-by: Mike Frysinger -mik -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2 6/8] turbostat: Factor out common function to open file and exit on failure

2013-08-20 Thread Mike Frysinger
On Tue, Aug 20, 2013 at 8:20 PM, Josh Triplett wrote: > +FILE *fopen_or_die(const char *path, const char *mode) > +{ > + FILE *filep = fopen(path, "r"); not a big deal, but would be nice to add the "e" flag -mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH] Omnikey Cardman 4000: pull in ioctl.h in user header

2013-08-16 Thread Mike Frysinger
This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h for the definitions. Signed-off-by: Mike Frysinger --- include/uapi/linux/cm4000_cs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/cm4000_cs.h b/include/uapi/linux/cm4000_cs.h index bc51f77

[tip:perf/urgent] perf tools: Fix -ldw/ -lelf link test when static linking

2013-07-12 Thread tip-bot for Mike Frysinger
Commit-ID: d14c496588733ec1b586ec068932c1db228dd770 Gitweb: http://git.kernel.org/tip/d14c496588733ec1b586ec068932c1db228dd770 Author: Mike Frysinger AuthorDate: Thu, 9 May 2013 00:17:44 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2013 13:41:12 -0300 perf tools

Re: [PATCH] ARM: Avoid extra calls to the C compiler

2013-06-25 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH 11/32] blackfin: delete __cpuinit usage from all blackfin files

2013-06-24 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [uclinux-dist-devel] [PATCH 01/11] cpufreq: blackfin: enable driver for CONFIG_BFIN_CPU_FREQ

2013-06-16 Thread Mike Frysinger
On Wednesday 12 June 2013 04:15:08 Viresh Kumar wrote: > By mistake blackfin's cpufreq driver is enabled when CONFIG_BLACKFIN was > present, whereas it should have been enabled only when CONFIG_BFIN_CPU_FREQ > is present. Acked-by: Mike Frysinger -mike signature.asc Descript

Re: [PATCH] arch: blackfin: kernel: sprintf(), need avoid NUL for '%s'

2013-06-15 Thread Mike Frysinger
i think you mean NULL instead of NUL that said, the kernel is smart enough to replace NULL with "(null)", so i don't see much point in this patch -mike On Wed, May 29, 2013 at 5:43 AM, Chen Gang wrote: > > When it is kernel symbol, the 'modname' will be NUL, and the 'symname' > contents the vali

Re: [PATCH -next] blackfin: bf533-stamp: Remove bogus "||"

2013-05-31 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [uclinux-dist-devel] [GIT PULL] Blackfin updates for 3.10

2013-05-11 Thread Mike Frysinger
On Thursday 09 May 2013 22:48:54 Steven Miao wrote: > Hi Stephen, please don't top post > Yes, please update the current blackfin tree with: > > https://github.com/realmz/blackfin-linux.git blackfin-linus why don't you sign up for an account on kernel.org and host your tree there ? -mike s

Re: [PATCH] x86: make stat/statfs 64-bit for x86_64 kernels

2013-05-08 Thread Mike Frysinger
On Thursday 09 May 2013 00:18:15 H. Peter Anvin wrote: > On 05/08/2013 09:08 PM, Mike Frysinger wrote: > > On Thursday 09 May 2013 00:04:03 H. Peter Anvin wrote: > >> On 05/08/2013 09:00 PM, Mike Frysinger wrote: > >>> When including these headers in the x32 ABI,

[PATCH] perf tools: fix -ldw/-lelf link test when static linking

2013-05-08 Thread Mike Frysinger
From: Mike Frysinger Since libelf sometimes uses libpthread, we have to list that after -lelf when someone tries to build statically. Else things go boom: Makefile:479: *** No libelf.h/libelf found, please install \ libelf-dev/elfutils-libelf-devel. Stop. Similarly, the -ldw test

Re: [PATCH] x86: make stat/statfs 64-bit for x86_64 kernels

2013-05-08 Thread Mike Frysinger
On Thursday 09 May 2013 00:04:28 H. Peter Anvin wrote: > On 05/08/2013 09:00 PM, Mike Frysinger wrote: > > --- a/arch/x86/include/uapi/asm/statfs.h > > +++ b/arch/x86/include/uapi/asm/statfs.h > > +/* For x86-64, both the 64bit and x32 ABIs have 64bit fields. */ > > +#if

Re: [PATCH] x86: make stat/statfs 64-bit for x86_64 kernels

2013-05-08 Thread Mike Frysinger
On Thursday 09 May 2013 00:04:03 H. Peter Anvin wrote: > On 05/08/2013 09:00 PM, Mike Frysinger wrote: > > When including these headers in the x32 ABI, the structs get declared > > with 32bit sizes which is incorrect. Use long long and such to make > > it work both with x32

[PATCH] x86: make stat/statfs 64-bit for x86_64 kernels

2013-05-08 Thread Mike Frysinger
When including these headers in the x32 ABI, the structs get declared with 32bit sizes which is incorrect. Use long long and such to make it work both with x32 and x86_64. Signed-off-by: Mike Frysinger --- arch/x86/include/uapi/asm/stat.h | 38 +++--- arch/x86

Re: [PATCH 09/42] rtc: rtc-bfin: remove unnecessary platform_set_drvdata()

2013-05-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] re-order CONFIG_EXPERT options to fix menuconfig display

2013-04-22 Thread Mike Frysinger
ysctl syscall support [*] Load all symbols for debugging/ksymoops ... Acked-by: Randy Dunlap Signed-off-by: Mike Frysinger --- init/Kconfig | 80 ++-- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/init/Kconfig b/init/

Re: [patch 1/1] early_printk: Consolidate random copies of identical code

2013-02-19 Thread Mike Frysinger
On Tuesday 19 February 2013 07:44:29 Thomas Gleixner wrote: > The early console implementations are the same all over the > place. Move the print function to kernel/printk and get rid of the > copies. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signe

Re: [PATCH v3 1/1] tools/power x86_energy_perf_policy: fix cpuid for i686

2013-02-17 Thread Mike Frysinger
On Thursday 14 February 2013 14:35:58 Benson Leung wrote: > + asm volatile ("mov %%ebx, %%edi;" /* save ebx (for PIC) */ > + "cpuid;" > + "mov %%ebx, %%esi;" /* pass to caller */ > + "mov %%edi, %%ebx;" /* restore ebx */ > +

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-02-05 Thread Mike Frysinger
On Tuesday 05 February 2013 05:33:19 James Hogan wrote: > On 03/02/13 06:17, Mike Frysinger wrote: > > On Thursday 31 January 2013 04:41:43 James Hogan wrote: > >> --- a/Makefile > >> +++ b/Makefile > >> > >> +ifneq ($(patsubst "%",%,$(CONFI

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-02-02 Thread Mike Frysinger
On Thursday 31 January 2013 04:41:43 James Hogan wrote: > --- a/Makefile > +++ b/Makefile > > +ifneq ($(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)),) > + depmod_args = -P $(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) > +endif > ... > # Run depmod only if we have System.map and depmod is executable > qu

Re: Friendlier EPERM - Request for input

2013-01-20 Thread Mike Frysinger
On Sunday 20 January 2013 19:00:46 Eric W. Biederman wrote: > Carlos O'Donell writes: > > On 01/09/2013 04:09 PM, Eric Paris wrote: > >> On Wed, 2013-01-09 at 21:59 +0100, Jakub Jelinek wrote: > >>> On Wed, Jan 09, 2013 at 12:53:40PM -0800, Casey Schaufler wrote: > I'm suggesting that the stri

Re: Redefinition of struct in6_addr in and

2013-01-20 Thread Mike Frysinger
On Friday 18 January 2013 09:36:35 Pedro Alves wrote: > On 01/18/2013 02:24 PM, YOSHIFUJI Hideaki wrote: > It's simple enough to move all of the __GLIBC__ uses into > libc-compat.h, then you control userspace libc coordination from one > file. > >>> > >>> How about just deciding on

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Thursday 17 January 2013 23:55:24 David Miller wrote: > From: Mike Frysinger > > the kernel already exports many types with a __kernel_ prefix. i changed > > the kernel headers in Gentoo for a few releases (2.6.28 - 2.6.34) to do > > the same thing to pretty much all t

Re: [PATCH 24/86] arch/blackfin: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Thursday 17 January 2013 23:22:26 Carlos O'Donell wrote: > On Thu, Jan 17, 2013 at 11:20 PM, Mike Frysinger wrote: > > On Wednesday 16 January 2013 22:15:38 David Miller wrote: > >> From: Carlos O'Donell > >> Date: Wed, 16 Jan 2013 21:15:03 -0500 > &

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Wednesday 16 January 2013 22:15:38 David Miller wrote: > From: Carlos O'Donell > Date: Wed, 16 Jan 2013 21:15:03 -0500 > > > +/* If a glibc-based userspace has already included in.h, then we will > > not + * define in6_addr (nor the defines), sockaddr_in6, or ipv6_mreq. > > The + * ABI used by

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Wednesday 16 January 2013 16:45:11 David Miller wrote: > What would be really nice is if GCC treated multiple identical > definitions of structures the same way it handles multiple identical > definitions of CPP defines. Which is to silently accept them. > > But that's not the case, so we need

Re: Redefinition of struct in6_addr in and

2013-01-16 Thread Mike Frysinger
On Wednesday 16 January 2013 13:57:44 David Miller wrote: > From: Mike Frysinger > > certainly true, but the current expectation is that you don't mix your > > ABIs. if you're programming with the C library API, then use the C > > library headers. if you're

Re: Redefinition of struct in6_addr in and

2013-01-16 Thread Mike Frysinger
On Wednesday 16 January 2013 13:59:59 David Miller wrote: > From: Mike Frysinger > > if you're not calling the kernel directly, why are you including the > > kernel headers ? what is the problem people are actually trying to > > address here (and no, "i want to i

Re: Redefinition of struct in6_addr in and

2013-01-16 Thread Mike Frysinger
On Wednesday 16 January 2013 12:10:11 Ben Hutchings wrote: > On Wed, 2013-01-16 at 12:04 -0500, Mike Frysinger wrote: > > On Wednesday 16 January 2013 10:47:12 Ben Hutchings wrote: > > > On Wed, 2013-01-16 at 23:21 +0900, YOSHIFUJI Hideaki wrote: > > > > Cong Wang

Re: Redefinition of struct in6_addr in and

2013-01-16 Thread Mike Frysinger
On Wednesday 16 January 2013 10:47:12 Ben Hutchings wrote: > On Wed, 2013-01-16 at 23:21 +0900, YOSHIFUJI Hideaki wrote: > > Cong Wang wrote: > > > (Cc'ing some glibc developers...) > > > > > > Hello, > > > > > > In glibc source file inet/netinet/in.h and kernel source file > > > include/uapi/lin

[PATCH 1/1] linux/audit.h: move ptrace.h include to kernel header

2012-12-23 Thread Mike Frysinger
userland ptrace headers can easily lead to failure. Signed-off-by: Mike Frysinger --- include/linux/audit.h | 1 + include/uapi/linux/audit.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/audit.h b/include/linux/audit.h index bce729a..9929785 100644 --- a

Re: [PATCH 04/25] blackfin: Use Kbuild infrastructure for kvm_para.h

2012-10-12 Thread Mike Frysinger
On Friday 12 October 2012 22:26:36 Steven Rostedt wrote: > From: Steven Rostedt > > All the headers but kvm_para.h use the Kbuild infrastructure to > get to the asm-generic headers. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

Re: [PATCH 22/30] perf tools: bfd.h/libbfd detection fails with recent binutils

2012-09-25 Thread Mike Frysinger
On Tuesday 25 September 2012 02:47:28 Markus Trippelsdorf wrote: > On 2012.09.24 at 19:58 -0400, Mike Frysinger wrote: > > On Monday 24 September 2012 11:59:36 Arnaldo Carvalho de Melo wrote: > > > --- a/tools/perf/Makefile > > > +++ b/tools/perf/Makefile >

Re: [PATCH 22/30] perf tools: bfd.h/libbfd detection fails with recent binutils

2012-09-24 Thread Mike Frysinger
On Monday 24 September 2012 11:59:36 Arnaldo Carvalho de Melo wrote: > --- a/tools/perf/Makefile > +++ b/tools/perf/Makefile > > - FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lbfd > + FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) > -DPACKAGE='perf' - in this cas

Re: Drop support to compressed modules?

2012-09-22 Thread Mike Frysinger
On Friday 21 September 2012 17:41:44 Lucas De Marchi wrote: > I'd like to ask people the following question: why are you using > compressed modules? Is it only for the disk space or is there any > performance related reason? i've only seen it to save on disk space -mike signature.asc Description

Re: [PATCH v2 16/31] arm64: ELF definitions

2012-08-21 Thread Mike Frysinger
On Tuesday 21 August 2012 14:27:31 Catalin Marinas wrote: > On Tue, Aug 21, 2012 at 07:17:19PM +0100, Geert Uytterhoeven wrote: > > On Tue, Aug 21, 2012 at 6:06 PM, Catalin Marinas wrote: > > > But I can see on x86 that it always reports x86_64 even if the task is > > > x86_32. > > > > Really? > >

[tip:x86/urgent] x32: Use compat shims for {g,s}etsockopt

2012-08-18 Thread tip-bot for Mike Frysinger
Commit-ID: 515c7af85ed92696c311c53d53cb4898ff32d784 Gitweb: http://git.kernel.org/tip/515c7af85ed92696c311c53d53cb4898ff32d784 Author: Mike Frysinger AuthorDate: Sat, 18 Aug 2012 16:11:37 -0400 Committer: H. Peter Anvin CommitDate: Sat, 18 Aug 2012 14:15:39 -0700 x32: Use compat shims

[PATCH] x32: use compat shims for {g,s}etsockopt

2012-08-18 Thread Mike Frysinger
me thing during the initial port, but I guess that was missed/lost along the way: https://lkml.org/lkml/2011/8/26/452 Bugzilla: https://bugs.gentoo.org/423649 Reported-by: Mads Signed-off-by: Mike Frysinger --- arch/x86/syscalls/syscall_64.tbl |6 -- 1 file changed, 4 insertio

Re: [PATCH 03/11] blackfin: defconfig: Remove CONFIG_MISC_DEVICES

2012-08-18 Thread Mike Frysinger
On Saturday 18 August 2012 12:23:47 Fabio Estevam wrote: > From: Fabio Estevam > > commit 7c5763 (drivers:misc: Remove MISC_DEVICES config option) removed > CONFIG_MISC_DEVICES option, so remove the occurrences from the config files > as well Acked-by: Mike Frysinger -mike

Re: [PATCH] blackfin: Use schedule_preempt_disabled()

2012-08-16 Thread Mike Frysinger
On Thursday 16 August 2012 11:02:15 Tobias Klauser wrote: > Follow bd2f5536 (sched/rt: Use schedule_preempt_disabled()). > > b5affb014 (blackfin: add bf60x to current framework) accidentally (?) > reverted the change. Acked-by: Mike Frysinger -mike signature.asc Descriptio

Re: [PATCH 2/5] drivers/video/bfin-t350mcqb-fb.c: use devm_ functions

2012-07-31 Thread Mike Frysinger
gt; function. Acked-by: Mike Frysinger -mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH net-next 8/8] arch: Use eth_random_addr

2012-07-15 Thread Mike Frysinger
On Friday 13 July 2012 01:33:12 Joe Perches wrote: > Convert the existing uses of random_ether_addr to > the new eth_random_addr. > > Signed-off-by: Joe Perches > --- > arch/blackfin/mach-bf537/boards/stamp.c | 2 +- Acked-by: Mike Frysinger -mike signature.asc Desc

Re: [PATCH] procfs task exe symlink

2008-02-19 Thread Mike Frysinger
On Feb 19, 2008 4:54 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > On Sat, 2008-02-16 at 07:12 -0500, Mike Frysinger wrote: > > On Feb 6, 2008 8:44 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > > > The kernel implements readlink of /proc/pid/exe by getting the fi

Re: [PATCH] procfs task exe symlink

2008-02-16 Thread Mike Frysinger
On Feb 6, 2008 8:44 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > The kernel implements readlink of /proc/pid/exe by getting the file from the > first executable VMA. Then the path to the file is reconstructed and reported > as > the result. > > Because of the VMA walk the code is slightly differe

common watchdog interface: handling of suspend/resume

2008-02-15 Thread Mike Frysinger
i'm not sure if it is possible to integrate this into the common code (be great if we could), but we should codify the expected behavior for the suspend/resume functions. from looking at the 8 that implement the pm functions, they seem to all do: suspend(): turn off the watchdog resume(): turn on

Re: [PATCH] kbuild: fix make V=1

2008-02-12 Thread Mike Frysinger
On Tuesday 12 February 2008, Oleg Verych wrote: > On Feb 12, 2008 4:07 PM, Mike Frysinger <[EMAIL PROTECTED]> wrote: > [] > > > > - quiet_chk_filechk = echo ' CHK $@' > > > -silent_chk_filechk = : > > > - quiet_upd_fil

Re: [PATCH] kbuild: fix make V=1

2008-02-12 Thread Mike Frysinger
On Tuesday 12 February 2008, Oleg Verych wrote: > On Tue, Feb 12, 2008 at 09:56:05AM +0100, Sam Ravnborg wrote: > > On Tue, Feb 12, 2008 at 12:38:24AM +0100, Oleg Verych wrote: > > > * Date: Mon, 11 Feb 2008 17:47:09 +0100 > > > [] > > > > > > > Mike spotted another missing thing from his initial >

[patch] FLAT binaries: drop BINFMT_FLAT bad header magic warning

2008-02-11 Thread Mike Frysinger
spits out this message. While I understand a lot of newcomers to the no-mmu world screw up generation of FLAT binaries, this warning is not usable for systems that support more than just FLAT. Signed-off-by: Jie Zhang <[EMAIL PROTECTED]> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]&g

Re: [PATCH 1/2] SH/Dreamcast - joystick (Control pad)

2008-02-11 Thread Mike Frysinger
On Monday 11 February 2008, Adrian McMenamin wrote: > On Mon, February 11, 2008 4:25 pm, Dmitry Torokhov wrote: > > On Mon, Feb 11, 2008 at 11:19:22AM -0500, Mike Frysinger wrote: > >> On Monday 11 February 2008, Adrian McMenamin wrote: > >> > On Mon, February 11,

Re: [PATCH 1/2] SH/Dreamcast - joystick (Control pad)

2008-02-11 Thread Mike Frysinger
On Monday 11 February 2008, Adrian McMenamin wrote: > On Mon, February 11, 2008 12:22 am, Mike Frysinger wrote: > > no remove function ? looks like the probe() forces a connect, but > > there's no remove() to force a disconnect ... > > Removing these devices (or any o

Re: Linux 2.6.25-rc1

2008-02-11 Thread Mike Frysinger
were added to filechk to > combination created with make V=1 were not > covered. > Fix it by explicitly cover this case too. > > Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> > Cc: Mike Frysinger <[EMAIL PROTECTED]> erp, i wondered if there was another case i was missing

Re: [PATCH 1/2] SH/Dreamcast - joystick (Control pad)

2008-02-10 Thread Mike Frysinger
On Sunday 10 February 2008, Adrian McMenamin wrote: > +static int dc_pad_connect(struct maple_device *mdev) > +{ > + ... > + if (data&(1<= 0) could use a few spaces in that first expression > +/* allow the controller to be used */ > +static int probe_maple_controller(struct device *de

Re: CONFIG_HIGHPTE vs. sub-page page tables.

2008-02-10 Thread Mike Frysinger
On Feb 10, 2008 4:41 AM, Martin Schwidefsky <[EMAIL PROTECTED]> wrote: > On Sun, 2008-02-10 at 04:25 -0500, Mike Frysinger wrote: > > i guess my point was more: the pgtable_t typdef is new therefore it > > must be defined for every architecture. your ability to directly >

Re: CONFIG_HIGHPTE vs. sub-page page tables.

2008-02-10 Thread Mike Frysinger
On Feb 10, 2008 4:17 AM, Martin Schwidefsky <[EMAIL PROTECTED]> wrote: > On Sat, 2008-02-09 at 12:56 -0500, Mike Frysinger wrote: > > On Feb 9, 2008 5:56 AM, Martin Schwidefsky <[EMAIL PROTECTED]> wrote: > > > On Sat, 2008-02-09 at 11:37 +0100, Ingo Molnar wrote: >

Re: m68knommu compile error

2008-02-09 Thread Mike Frysinger
t; @@ -39,6 +39,7 @@ typedef struct { > typedef struct { > unsigned long pgprot; > } pgprot_t; > +typedef struct page *pgtable_t; > > #define pte_val(x) ((x).pte) > #define pmd_val(x) ((&x)->pmd[0]) thanks, this fixed building Blackfin for me. Signed

Re: CONFIG_HIGHPTE vs. sub-page page tables.

2008-02-09 Thread Mike Frysinger
On Feb 9, 2008 5:56 AM, Martin Schwidefsky <[EMAIL PROTECTED]> wrote: > On Sat, 2008-02-09 at 11:37 +0100, Ingo Molnar wrote: > > i think the worst is over already and i'm reasonably sure that there are > > no more bugs in it - this _is_ a 1:1 patch after all, so in theory the > > worst side-effect

  1   2   3   4   5   >