Package: manpages-dev
Version: 2.25-3
Severity: normal
Tags: upstream

It seems that the clone manpage is out of sync with the libc/kernel
reality.

In particular, the following succeeds, but the annotation says that it
should not:

  CLONE_NEWNS|CLONE_FS
  CLONE_THREAD       (because CLONE_SIGHAND is not set)
  CLONE_SIGHAND      (because CLONE_VM is not set)

There is also mention of a "CLONE_DETACHED" flag which is not
otherwise mentioned; (the header files indicate that it is ignored).

Also, I can't follow the description of sys_clone, mostly because the
prototype doesn't make sense.  Instead of being a prototype of clone,
it looks like it is just copied from the definition (somewhere).
Doesn't it make more sense to include something like:

  clone(int flags, void *child_stack, int *parent_tidptr,
struct user_desc *newtls, int *child_tidptr);

Instead of the stuff that some scary-looking macro in a burried header
file that generates the definition?  :) 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to