search for: filedesc

Displaying 20 results from an estimated 21 matches for "filedesc".

2003 Oct 02
0
FreeBSD Security Advisory FreeBSD-SA-03:16.filedesc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ============================================================================= FreeBSD-SA-03:16.filedesc Security Advisory The FreeBSD Project Topic: file descriptor leak in readv Category: core Module: kernel Announced: 2003-10-02 Credits: Joost Pol <joost@pine.nl> Af...
2003 Oct 02
0
FreeBSD Security Advisory FreeBSD-SA-03:16.filedesc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ============================================================================= FreeBSD-SA-03:16.filedesc Security Advisory The FreeBSD Project Topic: file descriptor leak in readv Category: core Module: kernel Announced: 2003-10-02 Credits: Joost Pol <joost@pine.nl> Af...
2003 Jun 24
1
lsof builds but doesn't run under 4-STABLE
...PID 0, no file * space If I build the lsof binary under 4.8-STABLE, then it runs fine under 4.8-STABLE and 4-STABLE. Upon investigation it appears that the variable fd in the file dproc.c is being used uninitialized in gather_proc_info(). The problem seems to be related to some changes to struct filedesc (/usr/include/sys/filedesc.c) from some recent commits to the RELENG_4 branch on /usr/src/sys/sys/filedesc.c... Anyone care to investigate further? Geoffrey
2007 Apr 05
0
Patch: Add io.c functions, and vfat library
...mparing stuff from two different partitions, etc. There was some discussion on whether the FAT library, should be in com32/lib, but its quite helpful for me since I can hook my own read_handler for any partition on any disk, and use libfat to read files off it. Here is an example: typedef struct filedesc { diskinfo* disk_info; part_entry* partition; } filedesc; static filedesc rFd; static int fat_disk_read_handle(intptr_t fdp, void* buf, size_t nbyte, libfat_sector_t sector) { filedesc* fd = (filedesc*) fdp; int num_sectors = nbyte / LIBFAT_SECTOR_SIZE; int status; sector += fd...
2013 Oct 08
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...a couple of places.) > > Speaking of _inspect_linux_kernel, in my testing (under SUSE), > $g->file('somefile') does not include the expected 'somefile:' at the beginning > of the return string. Because of this, the following code isn't correct: > > if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { > > This works though: > > if($filedesc =~ /^Linux kernel .*\bversion\s+(\S+)\b/) { > > The above "Linux kernel" string doesn't match the SUSE version output. > However, it's better if I don't modify...
2009 Jul 31
1
[PATCH] Use grub entries to find Linux kernels
...} = \%boot; + } + + elsif ($os->{os} eq "windows") { # XXX } +} + +sub _inspect_linux_kernel +{ + my ($g, $os, $path) = @_; + + my %kernel = (); + + $kernel{path} = $path; + + # Try to get the kernel version by running file against it + my $version; + my $filedesc = $g->file($path); + if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { + $version = $1; + } + + # Sometimes file can't work out the kernel version, for example because it's + # a Xen PV kernel. In this case try to guess the version from the filename +...
2013 Oct 07
3
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...ux_kernel, and use it later in a couple of places.) Speaking of _inspect_linux_kernel, in my testing (under SUSE), $g->file('somefile') does not include the expected 'somefile:' at the beginning of the return string. Because of this, the following code isn't correct: if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { This works though: if($filedesc =~ /^Linux kernel .*\bversion\s+(\S+)\b/) { The above "Linux kernel" string doesn't match the SUSE version output. However, it's better if I don't modify the pattern to catch both version...
2010 Sep 21
0
Upload form with uploadify jquery plugin
...$(''#photo_uploader input:file'')[0].name, // Extract correct name of upload field from form field cancelImg : ''/images/cancel.png'', buttonText : ''Browse'', //buttonImg : ''/images/browse-background.png'', fileDesc : ''<%= dialog_file_description %> (<%= allowed_extensions.collect { |ext| "*.#{ext}" }.join('';'') %>)'', fileExt : ''<%= allowed_extensions.collect { |ext| "*.#{ext}" }.join('';'') %>'...
2009 Aug 03
1
[REPOST] Use grub entries to find Linux kernels
This is a repost of the patch I sent on Friday. I know it was already ACK'd, but I've changed a fair bit in addition to adding the requested POD. Specifically: I discovered that augeas's grub lens wasn't returning cmdline the way I expected. This is fixed. The kernel package, if known, is output as a property of the kernel. The XML output of virt-inspector is updated with all
2013 Oct 03
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
Thanks for the comments, Matt. On Thursday, October 03, 2013 05:34:27 PM Matthew Booth wrote: > > - # There should be an installed virtio capable kernel if virtio was > > installed - die("virtio configured, but no virtio kernel found") > > + # Warn if there is no installed virtio capable kernel. It is safe to > > + # continue and attempt to install a
2004 Aug 06
2
Full analysis of the remotely exploitable icecast 1.3.x bugs
...65719 Oh and if people want to test their local systems against this bug..you can aquire the exploit at: (it should be noted that this version of the exploit is just meant for linux x86 targets. This does not mean this bug is not exploitable on other platforms) http://www.packetstormsecurity.nl/filedesc/icx.c.html <p>ltr, diz -------------- next part -------------- A non-text attachment was scrubbed... Name: icecast.txt Type: application/octet-stream Size: 4808 bytes Desc: icecast.txt Url : http://lists.xiph.org/pipermail/icecast/attachments/20020406/885b462f/icecast.obj
2003 Jun 26
5
apache panics on a recent 4.8-STABLE
Yesterday I begin a couple of update to the latest 4.8-STABLE. After that the two boxes continues to go in panics as soon as Apache (1.3 from the ports, also freshly recompiled, 2.0.x seems NOT to hang) starts. I don't know if it is related to the other thread : "Kernel core dump in recent 4.8-STABLE" but it is easily reproducible by cvsupping to a today -STABLE and then running
2003 Oct 02
3
HEADS UP: upcoming security advisories
Hello Folks, Just a status on upcoming advisories. FreeBSD-SA-03:15.openssh This is in final review and should be released today. Fixes for this issue entered the tree on September 24. I apologize for the delay in getting this one out. FreeBSD-SA-03:16.filedesc A reference counting bug was discovered that could lead to kernel memory disclosure or a system panic. Fixes for this issue were committed to -CURRENT, -STABLE, and the security branches earlier today. This bug was reported to us by Joost Pol of Pine Digital Security, and...
2002 Apr 22
0
FreeBSD Security Advisory FreeBSD-SA-02:23.stdio
...the system. VI. Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Path Revision Branch - ------------------------------------------------------------------------- sys/sys/filedesc.h RELENG_4 1.19.2.4 RELENG_4_5 1.19.2.3.6.1 RELENG_4_4 1.19.2.3.4.1 sys/kern/kern_exec.c RELENG_4...
2013 Nov 07
6
[PATCH 0/4] virt-v2v: Add support for SUSE guest conversions
The following series of patches adds support for converting SUSE guests through virt-v2v. These changes should not impact non-SUSE guest conversions. Mike Latimer (4): Add perl-Bootloader support to grub packages Add conversion support for SUSE guests Add SUSE to capabilities db and conf Add SUSE support documentation lib/Sys/VirtConvert/Converter/Linux.pm | 480
2013 Oct 12
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...+ # kernel as well (if one exists) + ($flavor = $package) =~ s/^kernel//; + $fullversion = $fullversion.$flavor if defined($flavor); + $kernel{fullversion} = $fullversion; + } # Try to get the kernel version by running file against it my $version; my $filedesc = $g->file($path); - if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { + if($filedesc =~ /Linux.* [kK]ernel.*\b[vV]ersion\s+(\S+)\b/) { $version = $1; + # SUSE kernel version strings do not include the flavor + $version = $version.$flavor if defined($fl...
2013 Oct 11
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...+ # kernel as well (if one exists) + ($flavor = $package) =~ s/^kernel//; + $fullversion = $fullversion.$flavor if defined($flavor); + $kernel{fullversion} = $fullversion; + } # Try to get the kernel version by running file against it my $version; my $filedesc = $g->file($path); - if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { + if($filedesc =~ /Linux.* [kK]ernel.*\b[vV]ersion\s+(\S+)\b/) { $version = $1; - } - - # Sometimes file can't work out the kernel version, for example because it's - # a Xen PV...
2013 Jun 06
1
Reproducable Infiniband panic
...r = 0 #11 0xffffffff805b65ec in closef (fp=0xfffffe000b0e9aa0, td=0xfffffe000b0af000) at /usr/home/julian/src/freebsd/sys/kern/kern_descrip.c:2272 vp = <value optimized out> lf = {l_start = 0, l_len = -2198837126832, l_pid = 4, l_type = 0, l_whence = 0, l_sysid = 185266176} fdtol = (struct filedesc_to_leader *) 0x0 fdp = <value optimized out> fp_object = (struct file *) 0xfffffe000b0e9aa0 #12 0xffffffff805b76cc in fdfree (td=0xfffffe000b0af000) at /usr/home/julian/src/freebsd/sys/kern/kern_descrip.c:1976 fdp = (struct filedesc *) 0xfffffe000b1a8000 fpp = (struct file **) 0xfffffe000...
2013 Sep 24
0
[PATCH 3/4] Add SUSE converter
...y $package = eval { $g->command(['rpm', '-qf', '--qf', + '%{NAME}', $path]) }; + $kernel{package} = $package if defined($package);; + + # Try to get the kernel version by running file against it + my $version; + my $filedesc = $g->file($path); + if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { + $version = $1; + } + + # Sometimes file can't work out the kernel version, for example because it's + # a Xen PV kernel. In this case try to guess the version from the filename +...
2013 Oct 03
2
[PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...y $package = eval { $g->command(['rpm', '-qf', '--qf', + '%{NAME}', $path]) }; + $kernel{package} = $package if defined($package);; + + # Try to get the kernel version by running file against it + my $version; + my $filedesc = $g->file($path); + if($filedesc =~ /^$path: Linux kernel .*\bversion\s+(\S+)\b/) { + $version = $1; + } + + # Sometimes file can't work out the kernel version, for example because it's + # a Xen PV kernel. In this case try to guess the version from the filename +...