[PATCH] x86/elf: Fix use of internal macro BIT in uapi header

2020-10-26 Thread Thiago Macieira
This breaks the build in userspace since this macro is not available. :1:18: error: ‘BIT’ was not declared in this scope Fixes: 742c45c3ecc9255e1 ("x86/elf: Enumerate kernel FSGSBASE capability in AT_HWCAP2") Cc: Andi Kleen Acked-by: Dave Hansen Signed-off-by: Thiago Macieira ---

Re: libtracevent build warnings on Clear Linux (gcc 8.2.0)

2018-08-20 Thread Thiago Macieira
g:814: No libbabeltrace found, disables 'perf data' CTF format > support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev user-basic-dev too. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center

Re: [v1] iov_iter: fix page_copy_sane for compound pages

2017-09-30 Thread Thiago Macieira
ut this patch, I can't connect any USB Ethernet or the kernel will start producing that WARN_ON message and returning -EFAULT for quite a few programs. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

Re: linux-next: Tree for Nov 1 (xconfig problem)

2015-11-02 Thread Thiago Macieira
don't start with "Port xconfig to Qt5", so I guess it was missed. It's the only commit missing (you applied 38 and the series had 39). http://www.spinics.net/lists/linux-kbuild/msg11665.html -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel

Re: linux-next: Tree for Nov 1 (xconfig problem)

2015-11-02 Thread Thiago Macieira
ched patch does, but given that this error makes no sense to me, I cannot guarantee that you don't have another problem elsewhere. Boris, do you have another idea? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center >From 3242

Re: make xconfig no longer works in Fedora

2015-11-02 Thread Thiago Macieira
On Monday 02 November 2015 16:50:33 Michal Marek wrote: > On Mon, Nov 02, 2015 at 08:46:55AM -0500, Thiago Macieira wrote: > > On Monday 02 November 2015 11:36:43 Michal Marek wrote: > > > On 2015-11-02 04:20, Thiago Macieira wrote: > > > > -

Re: linux-next: Tree for Nov 1 (xconfig problem)

2015-11-02 Thread Thiago Macieira
gt; > Are you using Qt4 or Qt5? An Given the line number, it's a Qt 4. Randy, we need a backtrace. The problem is on the function that called first(). Can you make sure the crash generates a core dump, then get the bt from that? -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: make xconfig no longer works in Fedora

2015-11-02 Thread Thiago Macieira
On Monday 02 November 2015 11:36:43 Michal Marek wrote: > On 2015-11-02 04:20, Thiago Macieira wrote: > > - qtver=`qmake -query QT_VERSION` || { \ > > + qtver=`qmake -query QT_VERSION` || \ > > + qtver=`qmake-qt5 -query QT_VERSION` || \ > > + qtver=`

Re: make xconfig no longer works in Fedora

2015-11-01 Thread Thiago Macieira
t; But IMHO it would be really nice if we don't break things that used to > work. Right. Can you try the attached patch to see if it solves the problem for you? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center >From fd7d0a213

Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt

2015-10-16 Thread Thiago Macieira
ot;4.8.7" by default. The actual qmake is hiding behind qtchooser > (/usr/bin/qmake -> qtchooser) and will report different environments > based on the chosen personality: Since xconfig still builds with Qt 4, I didn't feel the need to force the choice for Qt 5. If your environment

[PATCH 01/39] Remove support for QT3 and older.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 18 -- scripts/kconfig/qconf.cc | 23 --- 2 files changed, 41 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h

[PATCH 03/39] Port xconfig to Qt5 - Use QAction

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 4 ++-- scripts/kconfig/qconf.cc | 48 ++-- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/scripts/kconfig

[PATCH 02/39] Port xconfig to Qt5 - Use QMainWindow, QToolBar

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 5 +++-- scripts/kconfig/qconf.cc | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index 703285d

[PATCH 07/39] Port xconfig to Qt5 - Use QMenu

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 2 +- scripts/kconfig/qconf.cc | 20 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h

[PATCH 04/39] Port xconfig to Qt5 - Use QFileDialog

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 601c868..9f1a9cf 100644 --- a/scripts

[PATCH 05/39] Port xconfig to Qt5 - Use QList

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 4 ++-- scripts/kconfig/qconf.cc | 14 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index

Port of [qx]config to Qt 5

2015-09-22 Thread Thiago Macieira
This patch set contains the port of qconfig to Qt 5. At the same time, it removes Qt 2 and 3 support (the last Qt 3 release was in 2007). Most of the work was done by Boris Barbulovski, so many thanks! I've reviewed and tested the changes. The patch set contains one patch per functionality being

[PATCH 21/39] Port xconfig to Qt5 - Use correct signal names.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index e0518ca..a8b5452 100644 --- a/scripts/kconfig

[PATCH 14/39] Port xconfig to Qt5 - Remove custom ListView classes.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 177 +- scripts/kconfig/qconf.cc | 904 +-- 2 files changed, 15 insertions(+), 1066 deletions(-) diff --git a/scripts

[PATCH 12/39] Port xconfig to Qt5 - Update QAction checkable

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index

[PATCH 10/39] Port xconfig to Qt5 - Fix layout

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index df1700e..3a5ff5d 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 09/39] Port xconfig to Qt5 - Replace Q3VBox with QWidget

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 4 ++-- scripts/kconfig/qconf.cc | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index 94e57bd

[PATCH 16/39] Port xconfig to Qt5 - update signals

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 51 ++-- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index

[PATCH 18/39] Port xconfig to Qt5 - Put back some of the old implementation.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 113 +-- scripts/kconfig/qconf.cc | 121 +-- 2 files changed, 216 insertions(+), 18

[PATCH 13/39] Port xconfig to Qt5 - Make single/split/full actions checkable.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 3 +++ scripts/kconfig/qconf.cc | 30 +++--- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts

[PATCH 15/39] Port xconfig to Qt5 - Fix the code so it compiles with Qt5

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 23 -- scripts/kconfig/qconf.cc | 185 +++ 2 files changed, 108 insertions(+), 100 deletions(-) diff --git a/scripts/kconfig

[PATCH 20/39] Port xconfig to Qt5 - Remove Qt3Support from Makefile.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index aceaaed..9b5b8c6 100644 --- a/scripts/kconfig

[PATCH 17/39] Port xconfig to Qt5 - Introduce Qt4/5 version of ConfigList and ConfigItem

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 48 ++-- scripts/kconfig/qconf.cc | 24 +--- 2 files changed, 63 insertions(+), 9 deletions(-) diff --git a

[PATCH 29/39] Port xconfig to Qt5 - Disable ConfigList soring

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 6de8589..e5bfa6b 100644 --- a/scripts/kconfig

[PATCH 06/39] Port xconfig to Qt5 - Use QTextBrowser

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 8 scripts/kconfig/qconf.cc | 12 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h

[PATCH 26/39] Port xconfig to Qt5 - Add ConfigList::mode to initializer list.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index c64b905..168f0cc 100644 --- a/scripts/kconfig

[PATCH 23/39] Port xconfig to Qt5 - Quick workaround to bypass app crash at startup.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 3454c43..8d72e4a 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 19/39] Port xconfig to Qt5 - Put back some of the old implementation(part 2).

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 45 +-- scripts/kconfig/qconf.cc | 788 ++- 2 files changed, 807 insertions(+), 26 deletions(-) diff --git a/scripts/kconfig

[PATCH 24/39] Port xconfig to Qt5 - Tree widget set column titles.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 8d72e4a..c64b905 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 32/39] Port xconfig to Qt5 - Source format.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index 000403d..a40036d 100644 --- a/scripts/kconfig

[PATCH 27/39] Port xconfig to Qt5 - Remove ConfigList::updateMenuList template.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski ConfigItem executes parent->takeChild(0) while ConfigList executes parent->takeTopLevelItem(0) Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 4 +-- scripts/kconfig/qconf.c

[PATCH 22/39] Port xconfig to Qt5 - Set ConfigView object name.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index a8b5452..3454c43 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 39/39] Update the buildsystem for KConfig finding Qt

2015-09-22 Thread Thiago Macieira
ff-by: Thiago Macieira --- scripts/kconfig/Makefile | 73 +++- 1 file changed, 28 insertions(+), 45 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 9b5b8c6..33c4994 100644 --- a/scripts/kconfig/Makefile +++ b/sc

[PATCH 28/39] Add current selection check.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index f54f19f..6de8589 100644 --- a/scripts/kconfig/qconf.cc

[PATCH 25/39] Port xconfig to Qt5 - Add ConfigItem::nextItem to initializer list.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index 819e029..d1383c6 100644 --- a/scripts/kconfig

[PATCH 34/39] Port xconfig to Qt5 - Add(back) lineedit editing.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 8d96960..455969c 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 37/39] Port xconfig to Qt5 - Fix goParent issue.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index d4e9cd5..1f31651 100644 --- a/scripts/kconfig

[PATCH 30/39] Port xconfig to Qt5 - Change ConfigItem constructor parent type.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h index d86ae3c..000403d 100644 --- a/scripts/kconfig

[PATCH 11/39] Port xconfig to Qt5 - Fix layout margin.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 3a5ff5d..6d32f39 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 36/39] Port xconfig to Qt5 - on Back clicked, deselect old item.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index a46aac7..d4e9cd5 100644 --- a/scripts/kconfig

[PATCH 31/39] Port xconfig to Qt5 - Add horizontal scrollbar, and scroll per pixel.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index e5bfa6b..2ef06c1 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 35/39] Port xconfig to Qt5 - Add(back) one click checkbox toggle.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 455969c..a46aac7 100644 --- a

[PATCH 33/39] Port xconfig to Qt5 - Remove some commented code.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 4 1 file changed, 4 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 2ef06c1..8d96960 100644 --- a/scripts/kconfig/qconf.cc +++ b

[PATCH 38/39] Port xconfig to Qt5 - Update copyright.

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 1f31651..91b7e6f 100644 --- a/scripts/kconfig

[PATCH 08/39] Port xconfig to Qt5 - Remove unused #include

2015-09-22 Thread Thiago Macieira
From: Boris Barbulovski Signed-off-by: Boris Barbulovski Signed-off-by: Thiago Macieira --- scripts/kconfig/qconf.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 334000a..6437197 100644 --- a/scripts/kconfig/qconf.cc +++ b

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-05-29 Thread Thiago Macieira
ective is to get notification of when the child exited without resorting to SIGCHLD. If we use the regular clone(2) without SIGCHLD and without CLONE_FD, we get no notification. The only way to know of the child's termination is by a blocking waitpid(2), like you indicated, which is

Re: [PATCH v2 5/7] clone4: Add a CLONE_AUTOREAP flag to automatically reap the child process

2015-03-20 Thread Thiago Macieira
hould not, to > avoid the strange special case. Not delivering any signal was the objective of this patch series, so yes exit_signal == 0 should survive an exec and even re-exec. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center -- T

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-03-16 Thread Thiago Macieira
be wait()ed on and whoever waits on it will get information. In addition to that, the information is available on the clonefd and it can happen at any time, before or after the wait(). In the case of an orphaned child, the file descriptor will close, that's all. No modification is necessa

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-03-16 Thread Thiago Macieira
same should happen, whatever that behaviour is. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-03-16 Thread Thiago Macieira
fd is read, the clonefd() will return a 0 read. If it gets read before wait, then wait() reaps another child or returns -ECHILD. That's no different than two threads doing simultaneous wait() on the same child. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Int

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-14 Thread Thiago Macieira
and bypassing NPTL, they're probably in a very specialised process that has no business running QProcess in the first place. I wouldn't be too worried. Inside glibc itself, __WCLONE is used only in unit tests and __WALL is used in a loop in elf/pldd.c, which is an independent appl

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-14 Thread Thiago Macieira
On Friday 13 March 2015 18:11:32 Thiago Macieira wrote: > On Friday 13 March 2015 14:51:47 Andy Lutomirski wrote: > > In any event, we should find out what FreeBSD does in response to > > read(2) on the fd. > > I've just successfully installed FreeBSD and compiled qtba

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-14 Thread Thiago Macieira
cessary changes in wait_cosnider_task(). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
d and report its behaviour. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center -- 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

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread Thiago Macieira
hink it makes sense for that to be > the default behavior, but if someone wanted to add an additional flag > to implement that behavior, that seems fine. A FreeBSD-compatible > pdfork could then use that flag when not passed PD_DAEMON and not use it > when passed PD_DAEMON. > >

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-12 Thread Thiago Macieira
org/108456 The forkfd.c file this modifies aims at implementing the semantics of CLONE_FD for the fork case when support for CLONE_FD is missing in the kernel. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center -- To unsubscribe from

uapi header self-containing

2012-12-17 Thread Thiago Macieira
s.h:935:18: error: field ‘addr’ has incomplete type In addition to the above errors, there are some C++-specific issues. I'll post those once the C errors have been (mostly) corrected. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Cente