headers: Move fcntl related data to include/fcntl.h

fcntl data is arch independent, so move it out of include/asm/type.h

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Drop SCM_MAX_FD internal variable

This limit is not exported by a kernel, so no need
to "explicitly" define it pretending that it's immutable.

Still I kept this name in comment just to give reader
a tip where CR_SCM_MAX_FD came from.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Move fh_t to fsnotify.c

We really don't need it spread over all headers. The file
handlers are used in fsnotify only, declare it there.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Move kcmp_type to kcmp.h

It's arch independent data.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Move prctl constants to prctl.h

Move prctl constants into own header. They are
arch independent.

The x86 specific ARCH_SET_GS should be fetched from <asm/prctl.h>
(instead of defining own ones).

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Drop SECURE_NO_SETUID_FIXUP definition

Take it from linux/securebits.h

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
x86: headers -- Drop unused FS/GS_TLS

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Drop never used CLONE_CHILD_USEPID

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Drop never used CLONE_VFORK

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Move ERESTART codes to errno.h

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
headers: Drop own definitions from mman.h

These constants should be taked from system mman.h

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>