search for: utsnam

Displaying 20 results from an estimated 191 matches for "utsnam".

Did you mean: utsname
2008 Mar 31
2
alsa 1.016 compile error on latest kernel centos 5.1
...CC [M] /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.o In file included from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/../alsa-kernel/core/info_oss.c:29, from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.c:7: include/linux/utsname.h:37:52: error: macro "init_utsname" passed 1 arguments, but takes just 0 In file included from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/../alsa-kernel/core/info_oss.c:29, from /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.c:7: include/lin...
2001 Jul 11
2
[PATCH]: Cygwin: Allow sshd to switch user context without password
...ion 1.4 diff -u -p -r1.4 bsd-cygwin_util.c --- openbsd-compat/bsd-cygwin_util.c 2001/04/13 14:28:42 1.4 +++ openbsd-compat/bsd-cygwin_util.c 2001/07/11 20:35:40 @@ -21,10 +21,14 @@ RCSID("$Id: bsd-cygwin_util.c,v 1.4 2001 #include <fcntl.h> #include <stdlib.h> +#include <sys/utsname.h> #include <sys/vfs.h> #include <windows.h> #define is_winnt (GetVersion() < 0x80000000) +#define ntsec_on(c) ((c) && strstr((c),"ntsec") && !strstr((c),"nontsec")) +#define ntea_on(c) ((c) && strstr((c),"ntea") &a...
2010 Mar 19
2
Using DTrace in 32-bit to handle 64-bit parameters [72631230]
...obe myprobe(int64_t param1, int32_t param2, int64_t > param3); > }; > > Dtrace probe: > adv$1:::myprobe > { > /* translation section */ > this->param1 = (curpsinfo->pr_dmodel == PR_MODEL_LP64) ? > arg0 : (`utsname.machine == "i86pc") ? ((arg1 << 32) | > arg0) : ((arg0 << 32) | arg1); > this->param2 = (curpsinfo->pr_dmodel == PR_MODEL_LP64) ? > arg1 : arg2; > this->param3 = (curpsinfo->pr_dmodel == PR_MODEL_LP64) ? >...
2006 Feb 10
14
[PATCH] TC: bug fixes to the "sample" clause
...tc/f_u32.c iproute-20051007/tc/f_u32.c --- iproute-20051007.keep/tc/f_u32.c 2006-01-12 17:34:37.000000000 +1000 +++ iproute-20051007/tc/f_u32.c 2006-02-07 17:10:29.000000000 +1000 @@ -17,6 +17,7 @@ #include <syslog.h> #include <fcntl.h> #include <sys/socket.h> +#include <sys/utsname.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string.h> @@ -874,6 +875,7 @@ htid = (handle&0xFFFFF000); } else if (strcmp(*argv, "sample") == 0) { __u32 hash; + struct utsname utsname; struct { struct tc_u32_sel sel; s...
2014 Jul 01
2
[PATCH] generator: Sort the structs.
...lude/guestfs-gobject/struct-lvm_lv.h \ + include/guestfs-gobject/struct-mdstat.h \ + include/guestfs-gobject/struct-partition.h \ include/guestfs-gobject/struct-stat.h \ include/guestfs-gobject/struct-statvfs.h \ - include/guestfs-gobject/struct-dirent.h \ + include/guestfs-gobject/struct-utsname.h \ include/guestfs-gobject/struct-version.h \ include/guestfs-gobject/struct-xattr.h \ - include/guestfs-gobject/struct-inotify_event.h \ - include/guestfs-gobject/struct-partition.h \ - include/guestfs-gobject/struct-application.h \ - include/guestfs-gobject/struct-application2.h \ -...
2011 Jul 19
4
[PATCH v1 0/2] Support dropping of capabilities from early userspace.
This patchset applies to klibc mainline. As is it will probably collide with Maximilian's recent patch to rename run-init to switch_root posted last week. To boot an untrusted environment with certain capabilities locked out, we'd like to be able to drop the capabilities up front from early userspace, before we actually transition onto the root volume. This patchset implements this by
2005 Jan 19
1
Re: [R-SIG-Mac] Formatting of time zone for POSIXct
...======== --- configure.ac (revision 32715) +++ configure.ac (working copy) @@ -551,7 +551,7 @@ fpu_control.h grp.h ieee754.h ieeefp.h limits.h locale.h \ netdb.h netinet/in.h pwd.h strings.h \ sys/param.h sys/select.h sys/socket.h sys/stat.h sys/time.h \ - sys/times.h sys/utsname.h unistd.h) + sys/times.h sys/utsname.h time.h unistd.h) ## </NOTE> ## <NOTE> ## These are ANSI C headers but some C code (written to work also @@ -1333,6 +1333,13 @@ ## POSIX times. R_SYS_POSIX_LEAPSECONDS +dnl some Solaris systems don't have a tm_zone member in struct...
2013 Nov 13
2
Re: User Namespace in LXC
Hi Gao, I checked the output of "lxc-checkconfig" command and it showed --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled *User namespace: missing* Network namespace: enabled Multiple /dev/pts instances: enabled Here it shows that User namespace support is missing. I tried to check for Namespaces Support in kernel menuconfig. It has support for followi...
2008 Oct 11
1
[PATCH] fstype: Fix ext4/ext4dev probing
...stype.c +++ b/usr/kinit/fstype/fstype.c @@ -12,11 +12,13 @@ #include <sys/types.h> #include <stdio.h> +#include <ctype.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <endian.h> #include <netinet/in.h> +#include <sys/utsname.h> #include <sys/vfs.h> #define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */ @@ -110,29 +112,142 @@ static int minix_image(const void *buf, unsigned long long *bytes) return 0; } -static int ext4_image(const void *buf, unsigned long long *bytes) +/* + * Check to see...
2008 Nov 18
1
[Patch 3/3] ocfs2-tools: Fix compilation of Pacemaker glue for ocfs2_controld
...nclude <pacemaker/crm/common/cluster.h> #include <fencing/stonithd_api.h> #include "ocfs2-kernel/kernel-list.h" @@ -29,9 +37,6 @@ #include "ocfs2_controld.h" -#include <bzlib.h> -#include <crm/crm.h> -#include <crm/ais.h> #include <sys/utsname.h> int our_nodeid = 0;
2012 Jun 28
1
[PATCH] klibc: fix gethostname()/getdomainname()
...2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/klibc/getdomainname.c b/usr/klibc/getdomainname.c index 61722ca3519b..218ff0baa871 100644 --- a/usr/klibc/getdomainname.c +++ b/usr/klibc/getdomainname.c @@ -11,7 +11,7 @@ int getdomainname(char *name, size_t len) { struct utsname un; - if (!uname(&un)) + if (uname(&un)) return -1; if (len < strlen(un.domainname) + 1) { diff --git a/usr/klibc/gethostname.c b/usr/klibc/gethostname.c index 5326b5fc4eb9..120edd943170 100644 --- a/usr/klibc/gethostname.c +++ b/usr/klibc/gethostname.c @@ -11,7 +11,7 @@ int ge...
2013 Nov 14
1
UTS namespace
...e host name in /etc/sysconfig/network. hostname=test1 Is there any way so that i can set the hostname in libvirt xml while creating a container? I know using lxc-tools we can set hostname while creating by 2 ways - first while creating container using lxc-create -u test1 - Second by specifying lxc.utsname=test1 in config file Thanks Aarti Sawant NTTDATA OSS Center Pune
2002 Jul 31
0
[PATCH]: Match Cygwin version check to reality
...d from that. + This simplifies the calling functions which only have to ask + for a capability using has_capability() instead of having + to figure that out by themselves. */ + static int inited; + static int has_create_token; + static int has_ntsec_by_default; + + if (!inited) { + struct utsname uts; + char *c; + + if (!uname(&uts)) { + int major_high = 0; + int major_low = 0; + int minor = 0; + int api_major_version = 0; + int api_minor_version = 0; + char *c; + + sscanf(uts.release, "%d.%d.%d", &major_high, + &major_low, &minor); +...
2014 Oct 23
17
[PATCH 00/16] Small bits of non-Linux porting
...c | 1 + daemon/initrd.c | 1 + daemon/journal.c | 5 +++ daemon/ldm.c | 1 + daemon/lvm-filter.c | 1 + daemon/mktemp.c | 1 + daemon/utsname.c | 1 + diff/diff.c | 1 + fish/Makefile.am | 2 +- fish/file-edit.c | 1 + fuse/test-fuse.c | 2 ++ generator/actions.ml | 50 ++++++++...
2012 Oct 30
7
[PATCH v2 0/7] Add symbol versioning (now working).
This rather more complex patch series adds symbol versioning (7/7 shows it in action). This works for me, tested by running old and new virt-inspector binaries against the new library. Rich.
2006 Mar 14
0
[Fwd: Re: [PATCH] TC: bug fixes to the "sample" clause]
...works with all maintained kernels. The issue I have with it is that if I were the 2.4 kernel maintainer, there is no way I would allow a change that breaks 2.4 binary compatibility. So to me, the "package" is a non-flyer. Actually, I am having trouble understanding why you dislike the utsname patch. Binary compatibility was broken between 2.4 and 2.6. Fine. So the assumption is the user space apps have to deal with it, I presume. If you don''t like dealing with it using utsname, then what other method do you suggest we use? Ignoring the problem and saying it will only...
2002 Nov 09
1
[PATCH] Two Cygwin related patches
...d from that. + This simplifies the calling functions which only have to ask + for a capability using has_capability() instead of having + to figure that out by themselves. */ + static int inited; + static int has_create_token; + static int has_ntsec_by_default; + + if (!inited) { + struct utsname uts; + char *c; + + if (!uname(&uts)) { + int major_high = 0; + int major_low = 0; + int minor = 0; + int api_major_version = 0; + int api_minor_version = 0; + char *c; + + sscanf(uts.release, "%d.%d.%d", &major_high, + &major_low, &minor); +...
2010 May 13
0
[PATCH matahari] Moving QMF functionality into a transport layer.
...55ffa 100644 --- a/src/host.cpp +++ b/src/host.cpp @@ -17,103 +17,78 @@ * also available at http://www.gnu.org/copyleft/gpl.html. */ -#include <fstream> - -#include <libvirt/libvirt.h> -#include <qpid/management/Manageable.h> -#include <sys/sysinfo.h> -#include <sys/utsname.h> - #include "host.h" -#include "platform.h" -#include "qmf/com/redhat/matahari/Host.h" -using namespace qpid::management; using namespace std; -using qpid::management::Manageable; -namespace _qmf = qmf::com::redhat::matahari; - void -HostAgent::setup(Manag...
2018 May 16
3
[PATCH] tests: Increase appliance memory when testing 256+ disks.
Currently the tests fail on x86 with recent kernels: FAIL: test-255-disks.sh This confused me for a while because our other test program (utils/max-disks/max-disks.pl) reports that it should be possible to add 255 disks. Well it turns out that the default amount of appliance memory is sufficient if you're just adding disks, but if you try to add _and_ partition those disks there's
2008 Sep 28
3
[LLVMdev] llvm-ld hangs
...o kernel/pid.o kernel/rcupdate.o kernel/extable.o kernel/params.o kernel/posix-timers.o kernel/kthread.o kernel/wait.o kernel/kfifo.o kernel/sys_ni.o kernel/posix-cpu-timers.o kernel/mutex.o kernel/hrtimer.o kernel/rwsem.o kernel/latency.o kernel/nsproxy.o kernel/srcu.o kernel/die_notifier.o kernel/utsname.o kernel/time/built-in.o kernel/futex.o kernel/rtmutex.o kernel/uid16.o kernel/kallsyms.o kernel/acct.o kernel/configs.o kernel/ksysfs.o kernel/softlockup.o kernel/irq/built-in.o kernel/utsname_sysctl.o Linking bitcode file 'kernel/sched.o' Linked in file 'kernel/sched.o' Lin...