Displaying 20 results from an estimated 143 matches for "ptsname".
Did you mean:
pts_name
2008 Jan 14
0
FreeBSD Security Advisory FreeBSD-SA-08:01.pty
...ion
Two issues exist in the FreeBSD pty handling.
If openpty(3) is called as non-root user the newly created
pseudo-terminal is world readable and writeable. While this is
documented to be the case, script(1) still uses openpty(3) and
script(1) may be used by non-root users [CVE-2008-0217].
The ptsname(3) function incorrectly extracts two characters from the
name of a device node in /dev without verifying that it's actually
operating on a valid pty which the calling user owns. pt_chown uses
the bad result from ptsname(3) to change ownership of a pty to the
user calling pt_chown [CVE-2008-021...
2012 Feb 08
0
[PATCH] remove references to removed libflask from setup.py
...IBXC + "/libxenctrl.so",
- XEN_ROOT + "/tools/flask/libflask/libflask.so" ],
+ depends = [ PATH_LIBXC + "/libxenctrl.so" ],
sources = [ "xen/lowlevel/flask/flask.c" ])
ptsname = Extension("ptsname",
2000 May 08
0
Patch for IA-64
Hi,
I have ported Samba 2.0.6 to run on Linux/IA-64. I had to make a few
modifications to get Samba to configure and compile properly. The mods
mostly have to do with missing prototypes which weren't present in
system include files (e.g. ptsname()). The biggest pain turned out to
be a prototype for crypt() which is defined in <unistd.h> only with
-D_XOPEN_SOURCE. Defining this caused other problems so I solved the
problem by adding config checks for <crypt.h> and including it
explicitly.
The complete patch (relative to 2.0.6...
2007 Sep 15
9
Boot Problem with XEN 3.1.
Hi to all.
I''m installed XEN3.1 correctly but I''m some problem to start it. XEN
start but I received this message:
VFS: Cannot open root device "hda5" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
This is strange because my grub is configured like this:
2013 Feb 19
13
[PATCH] mini-os: implement poll(2)
...;
+ DEBUG(")\n");
+
+ return ret;
+}
+
#ifdef HAVE_LWIP
int socket(int domain, int type, int protocol)
{
@@ -1360,7 +1449,6 @@ unsupported_function(int, tcgetattr, 0);
unsupported_function(int, grantpt, -1);
unsupported_function(int, unlockpt, -1);
unsupported_function(char *, ptsname, NULL);
-unsupported_function(int, poll, -1);
/* net/if.h */
unsupported_function_log(unsigned int, if_nametoindex, -1);
--
1.7.10.4
2016 Jan 06
0
[klibc:master] Remove obsolete getpt() function
...es changed, 1 insertion(+), 18 deletions(-)
diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h
index 856c647..c2d6264 100644
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -83,7 +83,6 @@ static __inline__ void srandom(unsigned int __s)
__extern int unlockpt(int);
__extern char *ptsname(int);
-__extern int getpt(void);
__extern int posix_openpt(int);
static __inline__ int grantpt(int __fd)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 7d95e87..5521038 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -52,7 +52,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o spr...
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
...changed, 9 insertions(+), 16 deletions(-)
diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h
index c2d6264..250755f 100644
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -83,7 +83,14 @@ static __inline__ void srandom(unsigned int __s)
__extern int unlockpt(int);
__extern char *ptsname(int);
-__extern int posix_openpt(int);
+
+static __inline__ int posix_openpt(int __mode)
+{
+ __extern int open(const char *, int, ...);
+
+ __mode &= ~(O_CREAT | O_TMPFILE);
+ return open("/dev/ptmx", __mode);
+}
static __inline__ int grantpt(int __fd)
{
diff --git a/usr/klibc/Kb...
2000 Jan 16
1
Report on openssh-1.2.1pre26.tar.gz
...sh/ssh-askpass\" \
-DHAVE_CONFIG_H -c pty.c -o pty.o
pty.c: In function `pty_allocate':
pty.c:100: warning: implicit declaration of function `grantpt'
pty.c:104: warning: implicit declaration of function `unlockpt'
pty.c:108: warning: implicit declaration of function `ptsname'
pty.c:108: warning: assignment makes pointer from integer without a cast
pty.c:122: `I_PUSH' undeclared (first use this function)
pty.c:122: (Each undeclared identifier is reported only once
pty.c:122: for each function it appears in.)
make: *** [pty.o] Error 1
I encountered the...
2001 Feb 01
1
linux and _GNU_SOURCE define
I find that adding -D_GNU_SOURCE is useful for linux.
This define enable more features from header files.
First) i found that define enable declaration/definition of following methods
- grantpt(...)
- unlockpt(...)
- ptsname(...)
for device "/dev/ptmx" ( support for ptys, preferred is method openpty (...) )
Second) _GNU_SOURCE enable use of utmpx and wtmpx ( support for login recording,
preferred is USE_LOGIN and syslogin_write_entry )
Three) ? at this time i don't know.
2000 Jan 07
1
Slackware 4.0: wtmp and pty.c problems
...ocal/libexec/ssh/ssh-askpass\"
-DHAVE_CONFIG_H -c pty.c -o pty.o
pty.c: In function `pty_allocate':
pty.c:100: warning: implicit declaration of function `grantpt'
pty.c:104: warning: implicit declaration of function `unlockpt'
pty.c:108: warning: implicit declaration of function `ptsname'
pty.c:108: warning: assignment makes pointer from integer without a cast
pty.c:122: `I_PUSH' undeclared (first use this function)
pty.c:122: (Each undeclared identifier is reported only once
pty.c:122: for each function it appears in.)
make: *** [pty.o] Error 1
If I then edit pty.c and ad...
2014 Dec 05
2
Debian patches for Xen 4.5.0 (RC3)
...2544291a0fdc8e4d826b16f9f5394462
-xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/checkpoint.so
-xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/flask.so
-xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/netlink.so
-xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/ptsname.so
Removed by 9e8672f1c36d7237508c537c0a1db6c473c2be37
+xen-utils-common: ./etc/xen/scripts/block-drbd-probe
Added by c03153348098fbdd905163af95ecbabbd43f31bb
-xen-utils-common: ./etc/xen/scripts/network-bridge
-xen-utils-common: ./etc/xen/scripts/network-nat
-xen-utils-common: ./etc/xen/...
2007 Jul 15
0
virtman breaks after installing XEN 3.1 on SELS 10.1
...gt; modules xen
Here is a list of matching modules. Enter any module name to get more help.
Clearly the xen.install class or function is defined and yet it throws an
errow if I try to import it directly without the entire module.
xen (package)
xen.lowlevel (package)
xen.lowlevel.acm
xen.lowlevel.ptsname
xen.lowlevel.xc
xen.lowlevel.xs
xen.sv.CreateDomain
xen.sv.DomInfo
xen.sv.GenTabbed
xen.sv.HTMLBase
xen.sv.Main
xen.sv.NodeInfo
xen.sv.RestoreDomain
xen.sv.Wizard
xen.sv (package)
xen.sv.util
xen.util.Brctl - Bridge control utilities.
xen.util.SSHTransport - XML-RPC SSH transport.
xen.util (package...
2010 Sep 09
2
[PATCH]: add libxl python binding
...s + [ "xen/lowlevel/xc" ],
@@ -83,8 +92,14 @@ netlink = Extension("netlink",
sources = [ "xen/lowlevel/netlink/netlink.c",
"xen/lowlevel/netlink/libnetlink.c"])
-modules = [ xc, xs, ptsname, acm, flask ]
-plat = os.uname()[0]
+xl = Extension("xl",
+ extra_compile_args = extra_compile_args,
+ include_dirs = include_dirs + [ "xen/lowlevel/xl" ],
+ library_dirs = library_dirs,
+ libraries = l...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...emp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...emp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...emp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...emp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...emp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...emp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether...
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...0000000012 GLIBC_2.2.5 strtoul
0000000000000000 DF *UND* 0000000000000098 GLIBC_2.2.5 log
0000000000000000 DF *UND* 000000000000012d GLIBC_2.2.5 getpwnam
0000000000000000 DF *UND* 00000000000000ac GLIBC_2.2.5 sigfillset
0000000000000000 DF *UND* 000000000000002b GLIBC_2.2.5 ptsname
0000000000000000 DF *UND* 0000000000000121 GLIBC_2.2.5 exit
0000000000000000 DF *UND* 00000000000000ea Base _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5writeEPKcl
0000000000000000 DF *UND* 00000000000001c0 Base _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEs...