All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] FORK_OR_VFORK
Date: Thu, 12 Sep 2013 10:12:29 +0400	[thread overview]
Message-ID: <52315B4D.1020902@oracle.com> (raw)

Hello!

LTP employs FORK_OR_VFORK macro which is defined as:

#ifdef UCLINUX
#define FORK_OR_VFORK                   vfork
#define MAP_PRIVATE_EXCEPT_UCLINUX      0
#else
#define FORK_OR_VFORK                   fork
#define MAP_PRIVATE_EXCEPT_UCLINUX      MAP_PRIVATE
#endif

So, on UCLINUX it is a vfork call.

But many testcases use this macro and try to use functions other than 
exec() and _exit() inside a child.
Example - syscalls/setfsuid/setfsuid04.c.
And I suppose that because of that fact these testcases may fail on 
UCLINUX (or behave unexpectedly).

Is this situation left intentionally? Does somebody care about this 
issue? Or we simply ignore it.

I'm just curious. :)

Thanks.














------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2013-09-12  6:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12  6:12 Stanislav Kholmanskikh [this message]
2013-09-12  9:47 ` [LTP] FORK_OR_VFORK chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52315B4D.1020902@oracle.com \
    --to=stanislav.kholmanskikh@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.