search for: siocgifconf

Displaying 14 results from an estimated 14 matches for "siocgifconf".

2011 Aug 08
1
[socket.h] add (more) missing definitions
Hello, to compile kexec-tools statically against klibc we still need a patch for socket.h, otherwise: | kexec/ifdown.c:46:16: error: 'SIOCGIFCONF' undeclared (first use in this function) | kexec/ifdown.c:46:16: note: each undeclared identifier is reported only once for each function it appears in | kexec/ifdown.c:65:18: error: 'SIOCSIFFLAGS' undeclared (first use in this function) In fact: lib/klibc $ grep -R SIOCGIFCONF . ./in...
1998 Mar 29
1
Anyone using SCO 3.2v4.2 with Samba 1.9.18p3??
SCO Unix 3.2v4.2 Samba 1.9.18p3 Problem with I_STR/SIOCGIFCONF I haven't a clue what is wrong here... We compiled samba 1.9.18p3 using GCC and everything is working pretty much okay. However, when we start the nmbd server we get an error message: > 03/22/1998 10:19:15 netbios nameserver version 1.9.18p3 started > Copyright Andrew Tridgell 1994-19...
2004 May 28
1
ipconfig related question (do not get static IP setting)
Hi!! I found your ipconfig stuff in the udev rpm in SuSE 9.1. I'm about to setup a initramfs (pretty cool - much better than initrd) to boot linux diskless clients over the net. All the tools I would need, seem to be there with ipconfig/nfsmount ... I like to use the information I get from PXE/syslinux or Etherboot writing something like:
2007 Apr 18
1
[Bridge] Little problem with 1.x versions (if_indextoname)
...ully set up. It was working with 0.9.6. I tracked the problem down to an 'incompatibility' in bridge/uClibc/kernel. 0.9.6 uses its own if_indextoname function which uses the SIOCGIFNAME ioctl which works with the kernel. Version 1.x uses the libc if_indextoname (here uClibc) which uses the SIOCGIFCONF ioctl and scans the if list to resolv the name for an if_index. The kernel will not send back interfaces which do not have an ip address (or exactly only for protocol family inet or decnet). So if the bridge does not have an ip address the name resolution fails and old_foreach_bridge() fails as w...
2011 Aug 08
0
[PATCH] include: [sys/ioctl.h] needs linux/sockios.h
The defines of SIOCGIFCONF and SIOCSIFFLAGS are well hidden in linux-2.6 under #ifdef __KERNEL__ sections for example in linux/socket.h. Fixes these in kexec-tools against klibc: | kexec/ifdown.c:46:16: error: 'SIOCGIFCONF' undeclared (first use in this function) | kexec/ifdown.c:46:16: note: each undeclared identif...
2018 Apr 03
1
[RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice
...when the sysfs entry is created, modified or destroyed. >> >> For that end, a separate namescope needs to be carved >> out for IFF_HIDDEN netdevs. As of now netdev name that >> starts with colon i.e. ':' is invalid in userspace, >> since socket ioctls such as SIOCGIFCONF use ':' as the >> separator for ifname. The absence of namescope started >> with ':' can rightly be used as the namescope for >> the kernel-only IFF_HIDDEN netdevs. >> >> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com> >> --- >>...
2018 Apr 03
0
[RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice
...ll be generated > when the sysfs entry is created, modified or destroyed. > > For that end, a separate namescope needs to be carved > out for IFF_HIDDEN netdevs. As of now netdev name that > starts with colon i.e. ':' is invalid in userspace, > since socket ioctls such as SIOCGIFCONF use ':' as the > separator for ifname. The absence of namescope started > with ':' can rightly be used as the namescope for > the kernel-only IFF_HIDDEN netdevs. > > Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com> > --- I understand the use case. I pro...
2007 Apr 18
0
[Bridge] Problem with startup script
...gives usage information. -------------------------------------- on this test box. I believe this is a similar problem to the one noted a fe= w days ago by Harald K=FCthe http://lists.osdl.org/pipermail/bridge/2004-Ju= ne/000382.html (although I'm using the 0.9.6 bridge-utils) regarding where = SIOCGIFCONF only lists interfaces that have IP addresses. I tried adding IP= ADDR=3D0.0.0.0 to ifcfg-eth0 and ifcfg-eth1 but it had no effect. Fedora us= es glibc so the patch for uClibc wasn't useful. What I don't understand is = how the same commands can be typed into a shell, but won't work in t...
2005 Apr 14
0
FreeBSD Security Advisory FreeBSD-SA-05:04.ifconf
...2005-04-15 01:53:14 UTC (RELENG_4_10, 4.10-RELEASE-p8) For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:http://www.freebsd.org/security/>. I. Background The SIOCGIFCONF ioctl allows a user process to ask the kernel to produce a list of the existing network interfaces and copy it into a buffer provided by the user process. II. Problem Description In generating the list of network interfaces, the kernel writes into a portion of a buffer without first zeroing it....
2005 Apr 14
0
FreeBSD Security Advisory FreeBSD-SA-05:04.ifconf
...2005-04-15 01:53:14 UTC (RELENG_4_10, 4.10-RELEASE-p8) For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:http://www.freebsd.org/security/>. I. Background The SIOCGIFCONF ioctl allows a user process to ask the kernel to produce a list of the existing network interfaces and copy it into a buffer provided by the user process. II. Problem Description In generating the list of network interfaces, the kernel writes into a portion of a buffer without first zeroing it....
2018 Apr 06
0
[RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice
...r destroyed. >> >> >> >> For that end, a separate namescope needs to be carved >> >> out for IFF_HIDDEN netdevs. As of now netdev name that >> >> starts with colon i.e. ':' is invalid in userspace, >> >> since socket ioctls such as SIOCGIFCONF use ':' as the >> >> separator for ifname. The absence of namescope started >> >> with ':' can rightly be used as the namescope for >> >> the kernel-only IFF_HIDDEN netdevs. >> >> >> >> Signed-off-by: Si-Wei Liu <si-wei....
2018 Apr 03
0
[RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice
...; when the sysfs entry is created, modified or destroyed. >> >> For that end, a separate namescope needs to be carved >> out for IFF_HIDDEN netdevs. As of now netdev name that >> starts with colon i.e. ':' is invalid in userspace, >> since socket ioctls such as SIOCGIFCONF use ':' as the >> separator for ifname. The absence of namescope started >> with ':' can rightly be used as the namescope for >> the kernel-only IFF_HIDDEN netdevs. >> >> Signed-off-by: Si-Wei Liu <si-wei.liu at oracle.com> >> --- >>...
1999 Aug 26
0
smbsh always segfaults
...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4006e000 read(6, "127.0.0.1\t\tlocalhost localhost"..., 4096) = 332 close(6) = 0 munmap(0x4006e000, 4096) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6 ioctl(6, SIOCGIFCONF, 0xbfffe7d0) = 0 ioctl(6, SIOCGIFADDR, 0xbfffe7f8) = 0 ioctl(6, SIOCGIFNETMASK, 0xbfffe7f8) = 0 close(6) = 0 stat("/etc/smb.conf", {st_mode=S_IFIFO|S_ISUID|0231, st_size=0, ...}) = 0 open("/etc/smb.conf", O_RDONLY|0x8000) = 6 fstat(...
2006 Jan 26
0
smbclient failure
...2,(0x1)PROT_READ,(0x1)MAP_SHARED,4,0x0) = 677306368 (0x285ee000) close(4) = 0 (0x0) open("/usr/local/lib/samba/valid.dat",0x0,00) = 4 (0x4) mmap(0x0,65536,(0x1)PROT_READ,(0x1)MAP_SHARED,4,0x0) = 677437440 (0x2860e000) close(4) = 0 (0x0) socket(0x2,0x2,0x0) = 4 (0x4) ioctl(4,SIOCGIFCONF,0xbfbfb090) = 0 (0x0) ioctl(4,SIOCGIFADDR,0xbfbfb0a0) = 0 (0x0) ioctl(4,SIOCGIFFLAGS,0xbfbfb0a0) = 0 (0x0) ioctl(4,SIOCGIFNETMASK,0xbfbfb0a0) = 0 (0x0) ioctl(4,SIOCGIFADDR,0xbfbfb0e8) = 0 (0x0) ioctl(4,SIOCGIFFLAGS,0xbfbfb0e8) = 0 (0x0) ioctl(4,SIOCGIFNETMASK,0xbfbfb0e8) = 0 (0x0)...