review of patches for the gssd that handle getpwXX_r ERANGE return

2013-04-27 Thread Rick Macklem
Hi, I have attached two patches, which can also be found at: http://people.freebsd.org/~rmacklem/getpw.patch1 and getpw.patch2 They are almost identical and handle the ERANGE error return from getpw[nam|uid]_r() when buf[128] isn't large enough. Is anyone interested in reviewing these?

Re: [patch] Wine DLL base address patches

2013-02-26 Thread Konstantin Belousov
;KERNEL32")); > > return 0; > > } > > > > mingw32-gcc hello.c -o hello.exe > > wine hello.exe > > > With binutils 2.23.1 (in ports), comparing the output of "ld > -Ttext-segment=0x7b80" and "prelink --reloc-only 0x7b80" using > diffs of "readelf -a" outputs gives this: > -11: 7b80 0 OBJECT LOCAL DEFAULT6 > _GLOBAL_OFFSET_TABLE_ > +11: 0 OBJECT LOCAL DEFAULT6 > _GLOBAL_OFFSET_TABLE_ > in other words, prelink also shifts the global offset table to the > requested base address, ld does not. I don't think this matters since > it's only ELF segments that get loaded - sections are irrelevant. I suspect that it is sort of bug in ld. On the other hand, _G_O_T_ symbol should be not used for real relocations, because both i386 and amd64 define specific relocations which allow to reference the begining of the GOT. The symbol is mostly a symbolic way to generate the relocations. So indeed, this should be fine. > > "objdump -s" finds no differences. > > So I am happy with all of Tijl's patches, please commit them. I expect Tijl to do it himself. pgpg3p0c_4gD1.pgp Description: PGP signature

Re: [patch] Wine DLL base address patches

2013-02-26 Thread Damjan Jovanovic
On Thu, Feb 21, 2013 at 11:35 PM, Jeremie Le Hen wrote: > Hi Damjan, > > On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: >> >> Wine needs some of its libraries to be loaded at specific base >> addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently >> lacks. >> >>

Re: [patch] Wine DLL base address patches

2013-02-26 Thread Damjan Jovanovic
gt; #include > int main(int argc, char **argv) > { > printf("%p\n", LoadLibrary("KERNEL32")); > return 0; > } > > mingw32-gcc hello.c -o hello.exe > wine hello.exe With binutils 2.23.1 (in ports), comparing the output of "ld -Ttext-segment=0x7b80" and "prelink --reloc-only 0x7b80" using diffs of "readelf -a" outputs gives this: -11: 7b80 0 OBJECT LOCAL DEFAULT6 _GLOBAL_OFFSET_TABLE_ +11: 0 OBJECT LOCAL DEFAULT6 _GLOBAL_OFFSET_TABLE_ in other words, prelink also shifts the global offset table to the requested base address, ld does not. I don't think this matters since it's only ELF segments that get loaded - sections are irrelevant. "objdump -s" finds no differences. So I am happy with all of Tijl's patches, please commit them. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: [patch] Wine DLL base address patches

2013-02-21 Thread Damjan Jovanovic
On Thu, Feb 21, 2013 at 5:44 PM, Konstantin Belousov wrote: > On Thu, Feb 21, 2013 at 12:57:45AM +0200, Damjan Jovanovic wrote: >> On Wed, Feb 20, 2013 at 10:51 PM, Tijl Coosemans wrote: >> > On 20-02-2013 16:48, Konstantin Belousov wrote: >> >> On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jo

Re: [patch] Wine DLL base address patches

2013-02-21 Thread Tijl Coosemans
On 21-02-2013 16:44, Konstantin Belousov wrote: > On Thu, Feb 21, 2013 at 12:57:45AM +0200, Damjan Jovanovic wrote: >> On Wed, Feb 20, 2013 at 10:51 PM, Tijl Coosemans wrote: >>> On 20-02-2013 16:48, Konstantin Belousov wrote: On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote:

Re: [patch] Wine DLL base address patches

2013-02-21 Thread Jeremie Le Hen
Hi Damjan, On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: > > Wine needs some of its libraries to be loaded at specific base > addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently > lacks. > > I've written a patch to the dynamic loader (/libexec/ld-elf.so.1)

Re: [patch] Wine DLL base address patches

2013-02-21 Thread Konstantin Belousov
On Thu, Feb 21, 2013 at 12:57:45AM +0200, Damjan Jovanovic wrote: > On Wed, Feb 20, 2013 at 10:51 PM, Tijl Coosemans wrote: > > On 20-02-2013 16:48, Konstantin Belousov wrote: > >> On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: > >>> Hi > >>> > >>> Wine needs some of its librari

Re: [patch] Wine DLL base address patches

2013-02-20 Thread Damjan Jovanovic
On Wed, Feb 20, 2013 at 10:51 PM, Tijl Coosemans wrote: > On 20-02-2013 16:48, Konstantin Belousov wrote: >> On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: >>> Hi >>> >>> Wine needs some of its libraries to be loaded at specific base >>> addresses (https://wiki.freebsd.org/Wine)

Re: [patch] Wine DLL base address patches

2013-02-20 Thread Konstantin Belousov
On Wed, Feb 20, 2013 at 09:51:37PM +0100, Tijl Coosemans wrote: > On 20-02-2013 16:48, Konstantin Belousov wrote: > > On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: > >> Hi > >> > >> Wine needs some of its libraries to be loaded at specific base > >> addresses (https://wiki.freeb

Re: [patch] Wine DLL base address patches

2013-02-20 Thread Tijl Coosemans
On 20-02-2013 16:48, Konstantin Belousov wrote: > On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: >> Hi >> >> Wine needs some of its libraries to be loaded at specific base >> addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently >> lacks. >> >> I've written a pat

Re: [patch] Wine DLL base address patches

2013-02-20 Thread Konstantin Belousov
On Wed, Feb 20, 2013 at 05:29:01PM +0200, Damjan Jovanovic wrote: > Hi > > Wine needs some of its libraries to be loaded at specific base > addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently > lacks. > > I've written a patch to the dynamic loader (/libexec/ld-elf.so.1) that >

[patch] Wine DLL base address patches

2013-02-20 Thread Damjan Jovanovic
Hi Wine needs some of its libraries to be loaded at specific base addresses (https://wiki.freebsd.org/Wine), something FreeBSD currently lacks. I've written a patch to the dynamic loader (/libexec/ld-elf.so.1) that loads libraries at their preferred base addresses (http://www.freebsd.org/cgi/quer

tzsetup(8) patches

2012-01-17 Thread Devin Teske
Can someone please take a look at 3 patches I've filed against tzsetup(8)? bin/164039: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/164039 "[PATCH] tzsetup(8): Don't write /var/db/zoneinfo either when "-n" is passed or when install_zoneinfo_file returns f

Re: lldb patches for FreeBSD

2011-05-12 Thread Pieter de Goeje
On Friday 13 May 2011 00:00:28 Amit Kulkarni wrote: > It seems FreeBSD is also affected like OpenBSD about the thread id > issue discussed a month before in this thread. I am cc'ing matthew@ > just to keep him in the loop. > http://lists.cs.uiuc.edu/pipermail/lldb-dev/2011-April/000444.html Check

lldb patches for FreeBSD

2011-05-12 Thread Amit Kulkarni
Hi, I installed FreeBSD 8.2 amd64 and trying to see how far lldb compiles, seeing as OpenBSD lacks shm_open/shm_unlink and some posix shared memory functionality right now. Note: FreeBSD 8.2 amd64 has system gcc of 4.2.1, the last GPLv2 gcc with some patches before the switch to GPLv3, if I am

Re: kgdb patches for newer versions of gdb

2011-03-26 Thread Julian Elischer
On 3/24/11 8:46 AM, Ryan Stone wrote: At work we cross-compile several kld modules. They just upgraded to gcc 4.5, but gdb 6.X is not compatible with the debug symbols produced by gcc 4.5. Has anybody ever tried merging kgdb into a newer gdb version? Anybody have patches that they can share

kgdb patches for newer versions of gdb

2011-03-24 Thread Ryan Stone
At work we cross-compile several kld modules. They just upgraded to gcc 4.5, but gdb 6.X is not compatible with the debug symbols produced by gcc 4.5. Has anybody ever tried merging kgdb into a newer gdb version? Anybody have patches that they can share

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Juergen Lock
On Tue, Feb 22, 2011 at 01:50:31PM +0100, Alexander Leidinger wrote: > Quoting Juergen Lock (from Tue, 22 Feb 2011 > 12:37:53 +0100): > > > On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote: > >> Quoting Juergen Lock (from Mon, 21 Feb 2011 > >> 19:36:11 +0100): > >> > >> > A

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Alexander Leidinger
Quoting Juergen Lock (from Tue, 22 Feb 2011 12:37:53 +0100): On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote: Quoting Juergen Lock (from Mon, 21 Feb 2011 19:36:11 +0100): > And here comes the patch for head: linux_dvb.h is still GPLed (not taking into account that the

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Juergen Lock
On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote: > Quoting Juergen Lock (from Mon, 21 Feb 2011 > 19:36:11 +0100): > > > And here comes the patch for head: > > linux_dvb.h is still GPLed (not taking into account that there are > voices which tell that interface descriptio

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-22 Thread Alexander Leidinger
Quoting Juergen Lock (from Mon, 21 Feb 2011 19:36:11 +0100): And here comes the patch for head: linux_dvb.h is still GPLed (not taking into account that there are voices which tell that interface descriptions are not copyrightable or something like this). As already told this is a no-g

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-21 Thread Juergen Lock
On Sat, Feb 19, 2011 at 07:57:44PM +0200, Kostik Belousov wrote: > On Fri, Feb 18, 2011 at 09:55:42PM +0100, Juergen Lock wrote: > > I have finally got back to this and did the style and vm_map_remove() > > return value handling fixes, updated the patches in-place: &g

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-19 Thread Kostik Belousov
On Fri, Feb 18, 2011 at 09:55:42PM +0100, Juergen Lock wrote: > I have finally got back to this and did the style and vm_map_remove() > return value handling fixes, updated the patches in-place: > > http://people.freebsd.org/~nox/dvb/linux-dvb.patch > > (for hea

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-02-18 Thread Juergen Lock
I have finally got back to this and did the style and vm_map_remove() return value handling fixes, updated the patches in-place: http://people.freebsd.org/~nox/dvb/linux-dvb.patch (for head) http://people.freebsd.org/~nox/dvb/linux-dvb-8.patch (for 8.) On Sun, Jan 30, 2011 at

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-30 Thread Juergen Lock
On Sun, Jan 30, 2011 at 12:33:20PM +0200, Kostik Belousov wrote: > On Sun, Jan 30, 2011 at 12:54:48AM +0100, Juergen Lock wrote: > > On Sat, Jan 29, 2011 at 10:51:05PM +0200, Kostik Belousov wrote: > > > On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: > > > > Hi! > > > > > > > > I w

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-30 Thread Kostik Belousov
On Sun, Jan 30, 2011 at 12:54:48AM +0100, Juergen Lock wrote: > On Sat, Jan 29, 2011 at 10:51:05PM +0200, Kostik Belousov wrote: > > On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: > > > Hi! > > > > > > I was kinda hoping to be able to post a correct patch in public but > > > gettin

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-29 Thread Juergen Lock
On Sat, Jan 29, 2011 at 10:51:05PM +0200, Kostik Belousov wrote: > On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: > > Hi! > > > > I was kinda hoping to be able to post a correct patch in public but > > getting an answer to ${Subject} seems to be more difficult than I > > thought...

Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-29 Thread Juergen Lock
Hi! I was kinda hoping to be able to post a correct patch in public but getting an answer to ${Subject} seems to be more difficult than I thought... :) So, does anyone here know? copyout_map() and copyout_unmap() are copied from ksyms_map() from sys/dev/ksyms/ksyms.c - should there maybe be glo

Re: Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

2011-01-29 Thread Kostik Belousov
On Sat, Jan 29, 2011 at 09:10:00PM +0100, Juergen Lock wrote: > Hi! > > I was kinda hoping to be able to post a correct patch in public but > getting an answer to ${Subject} seems to be more difficult than I > thought... :) So, does anyone here know? copyout_map() and You do not need Giant lock

RFT: pkg_install patches

2010-07-09 Thread Garrett Cooper
Hi hackers, There are a series of patches that I'd like to get reviewed before jumping onto another project that would clean up and move pkg_install forward. portmgr has been kind of busy lately (mostly flz), so I don't think that these have been reviewed by him: http://www.freeb

GSoC: Binary patches to packages

2010-05-20 Thread Ivan Voras
Hello, As one of the SoC projects dealing with the ports/packages infrastructure, I will be working on infrastructure for building, applying and maintaining binary patches to packages. This is a part of the discussion at various threads I've started or participated in, but with a reduced

RE: mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-06 Thread Selphie Keller
the issues, if needed. -Selphie -Original Message- From: Robert Watson [mailto:rwat...@freebsd.org] Sent: Saturday, March 06, 2010 8:53 AM To: Selphie Keller Cc: freebsd-hackers@freebsd.org Subject: RE: mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in

RE: mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-06 Thread Robert Watson
On Tue, 2 Mar 2010, Selphie Keller wrote: - (2) Could you let me know how your login.conf + user labels are configured, and show me the output of "ps -axZ | grep sshd"? /etc/login.conf label configurations I use Staff users: label=mls/2(low-high) Deamons: label=mls/equal(equal-equal) Insecure

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-02 Thread Juergen Lock
d I made a >> > > > > simple >> > > > > patch to make lseek SEEK_END (L_XTND in the source) dtrt on disk >> > > > > devices too by simply invoking the DIOCGMEDIASIZE ioctl there; [2] >> > > > > both of these things a

Re: mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-02 Thread Robert Watson
On Tue, 2 Mar 2010, Robert Watson wrote: Thanks for this patch. I'll go ahead and merge it, but had two questions: Committed as r204581, thanks! Robert ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-h

RE: mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-02 Thread Selphie Keller
appy to help. -Selphie (Estella Mystagic) -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd-hack...@freebsd.org] On Behalf Of Robert Watson Sent: Tuesday, March 02, 2010 3:32 AM To: Estella Mystagic Cc: freebsd-hackers@freebsd.org Subject: Re: mac_mls mac_biba

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-02 Thread John Baldwin
on disk > > > > > devices too by simply invoking the DIOCGMEDIASIZE ioctl there; [2] > > > > > both of these things are what (some) Linux processes expect. > > > > > > > > > > Patches are here: (made on stable/8, if they don't apply on head >

Re: mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-02 Thread Robert Watson
On Mon, 1 Mar 2010, Estella Mystagic wrote: Found issues with sysctl mibs security.mac.biba.ptys_equal, security.mac.lomac.ptys_equal, security.mac.mls.ptys_equal, not supporting new /dev/pts terminal system in FreeBSD 8, proposed fix for issue. When using a higher security grade/clearance w

mac_mls mac_biba mac_lomac patches to fix ptys_equal mib support for new /dev/pts in FreeBSD 8

2010-03-01 Thread Estella Mystagic
controlling tty: Permission denied -Selphie Patches: diff -urNp /usr/src/sys/security-orig/mac_biba/mac_biba.c /usr/src/sys/security/mac_biba/mac_biba.c --- /usr/src/sys/security-orig/mac_biba/mac_biba.c 2010-03-01 17:11:30.0 -0800 +++ /usr/src/sys/security/mac_biba

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-01 Thread John Baldwin
t; > > > version is now `correct enough' to be usable [1]), and I made a simple > > > > patch to make lseek SEEK_END (L_XTND in the source) dtrt on disk > > > > devices too by simply invoking the DIOCGMEDIASIZE ioctl there; [2] > > > > both of these

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-26 Thread Juergen Lock
patch to make lseek SEEK_END (L_XTND in the source) dtrt on disk > > > devices too by simply invoking the DIOCGMEDIASIZE ioctl there; [2] > > > both of these things are what (some) Linux processes expect. > > > > > > Patches are here: (made on stable/8, if the

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-26 Thread John Baldwin
e DIOCGMEDIASIZE ioctl there; [2] > > both of these things are what (some) Linux processes expect. > > > > Patches are here: (made on stable/8, if they don't apply on head > > I'll have to make extra versions for that...) > > http://people.freebsd.org/~nox

32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-25 Thread Juergen Lock
y > version is now `correct enough' to be usable [1]), and I made a simple > patch to make lseek SEEK_END (L_XTND in the source) dtrt on disk > devices too by simply invoking the DIOCGMEDIASIZE ioctl there; [2] > both of these things are what (some) Linux processes expect. > >

Re: "tar tfv /dev/cd0" speedup patch; Linux compatibility patches

2010-02-23 Thread Juergen Lock
ing lots of lseek()s towards the end without ever reading > > anything from the disc anymore...) > > Fortunately, because there are no reads, those lseek() > requests are pretty cheap. But you're right, it > wouldn't be hard to eliminate the unnecessary system > cal

Linuxolator patches: stat and lseek SEEK_END for disk devices

2010-02-23 Thread Juergen Lock
lseek SEEK_END (L_XTND in the source) dtrt on disk devices too by simply invoking the DIOCGMEDIASIZE ioctl there; [2] both of these things are what (some) Linux processes expect. Patches are here: (made on stable/8, if they don't apply on head I'll have to make extra versions for that..

Re: "tar tfv /dev/cd0" speedup patch; Linux compatibility patches

2010-02-22 Thread Tim Kientzle
thout ever reading anything from the disc anymore...) Fortunately, because there are no reads, those lseek() requests are pretty cheap. But you're right, it wouldn't be hard to eliminate the unnecessary system calls. Patches are here: (made on stable/8, if they don't apply on head I&#

Re: "tar tfv /dev/cd0" speedup patch; Linux compatibility patches

2010-02-22 Thread Juergen Lock
code for that in linux_stats.c, I hope my version is now `correct enough' to be usable [1]), and I made a simple patch to make lseek SEEK_END (L_XTND in the source) dtrt on disk devices too by simply invoking the DIOCGMEDIASIZE ioctl there. [2] Patches are here: (made on stabl

Re: CFT: final patches for NGROUPS>>16

2009-06-18 Thread ttw+bsd
posted patches to this effect some months ago. they needed some clean-up and validation but the also mapped correctly into an RPC_NGROUPS_MAX and IPC_NGROUPS_MAX for consistent (and possibly dynamic) mapping to those problem areas. they build and run but are untested beyond that. i do not

CFT: final patches for NGROUPS>>16

2009-06-17 Thread Brooks Davis
Please find attached three patches which result in raising NGROUPS to 1024, making programs in the base system immune to changing values of NGROUPS, and pave the way for NGROUPS to be boot time configurable. The first two patches (ngroups-catman.diff and ngroups-posix.diff) are userland cleanups

Re: BDB corrupt - patches

2008-05-14 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Anton wrote: [...] | I'm going to have to dig up these fixes, but presuming | I do, who should be alerted? Just file a bug? Recreation | is extremely difficult. I think Oracle is maintaining a webpage about their known bug/fixes here: http://

Re: BDB corrupt - patches

2008-05-14 Thread Tim Kientzle
Jeff Anton wrote: Some years ago I mailed patches out to someone regarding Berkeley DB 1.85 btree problems. The two issues which come to mind are... 1) The page split position is improperly computed. ... 2) The record put code has a "last page put to" member ... I'm going to

BDB corrupt - patches

2008-05-14 Thread Jeff Anton
Some years ago I mailed patches out to someone regarding Berkeley DB 1.85 btree problems. The two issues which come to mind are... 1) The page split position is improperly computed. This can cause corruption when a very full page has an item which is very large inserted onto it. The

Re: crontab Patches

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 15:35:02 -0400, Steven Kreuzer <[EMAIL PROTECTED]> wrote: > I wrote two patches for crontab.c that I was wondering if someone would > take a look at. > > The first one zero out pw_passwd in crontab, just to be paranoid side. > http://www.freebsd.org/cg

crontab Patches

2008-04-02 Thread Steven Kreuzer
I wrote two patches for crontab.c that I was wondering if someone would take a look at. The first one zero out pw_passwd in crontab, just to be paranoid side. http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/122070 The second replaces sprintf with snprintf http://www.freebsd.org/cgi/query-pr.cgi

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-26 Thread Jeremy Chadwick
On Wed, Mar 26, 2008 at 11:00:49PM -0700, Jeremy Chadwick wrote: > On Sat, Mar 22, 2008 at 04:58:47AM +, Stef Walter wrote: > > Daniel O'Connor wrote: > > > I have seen this bug in other ATA RAID implementations (VIA & Promise) > > > too. From what I can tell this part of your patch is general

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-26 Thread Jeremy Chadwick
On Sat, Mar 22, 2008 at 04:58:47AM +, Stef Walter wrote: > Daniel O'Connor wrote: > > I have seen this bug in other ATA RAID implementations (VIA & Promise) > > too. From what I can tell this part of your patch is general to all ATA > > RAID arrays, right? > > Yes, a small part. The part tha

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-26 Thread Daniel O'Connor
On Sat, 22 Mar 2008, Stef Walter wrote: > Daniel O'Connor wrote: > > I have seen this bug in other ATA RAID implementations (VIA & > > Promise) too. From what I can tell this part of your patch is > > general to all ATA RAID arrays, right? > > Yes, a small part. The part that will write out the RAI

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-21 Thread Stef Walter
Daniel O'Connor wrote: > I have seen this bug in other ATA RAID implementations (VIA & Promise) > too. From what I can tell this part of your patch is general to all ATA > RAID arrays, right? Yes, a small part. The part that will write out the RAID information (thus updating the generation) when

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-21 Thread Daniel O'Connor
On Thu, 20 Mar 2008, Stef Walter wrote: > Don't duplicate the RAID amoeba style if you boot with a drive > present that was detached from a RAID. This can happen if you manage > to get past the above panic problem. You'll end up with two devices > like ar0 and ar1. This can be a major mess if ar1 w

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-20 Thread Stef Walter
reattached Open PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/108924 FWIW, kern/108924 seems to be a duplicate of kern/102211 Cheers, Stef Walter Jeremy Chadwick wrote: > On Thu, Mar 20, 2008 at 01:16:39PM +, Stef Walter wrote: >> Here's some vital patches for the ataraid dri

Re: Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-20 Thread Jeremy Chadwick
On Thu, Mar 20, 2008 at 01:16:39PM +, Stef Walter wrote: > Here's some vital patches for the ataraid driver when using Intel Matrix > RAID (often found built into mainboards these days). Will this address any of the MatrixRAID and/or ATA issues documented here? http://wiki.

Vital Patches for ataraid with Intel Matrix RAID (ICH7)

2008-03-20 Thread Stef Walter
Here's some vital patches for the ataraid driver when using Intel Matrix RAID (often found built into mainboards these days). These are problems that will bite at the worst time: When a disk goes out in your RAID. A combined patch is attached which applies to FreeBSD 6 and 7, and the va

Re: patches

2007-08-22 Thread Mike Silbersack
On Wed, 22 Aug 2007, shyam burkule wrote: hellow can someone send me patch implementating page replacement algorithm in freeBSD Thanks Shyam No. Mike "Silby" Silbersack ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: freeBSD patches

2007-08-22 Thread Mohacsi Janos
Wed, 22 Aug 2007, shyam burkule wrote: hellow Please tell me where can i get new freeBSD patches Thanks Shyam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[

freeBSD patches

2007-08-22 Thread shyam burkule
hellow Please tell me where can i get new freeBSD patches Thanks Shyam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

patches

2007-08-22 Thread shyam burkule
hellow can someone send me patch implementating page replacement algorithm in freeBSD Thanks Shyam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]

patches for devel/mprof

2006-04-07 Thread Julian Elischer
I include patches to stop teh devel/mprof port from core-dumping when run. it seems to produce reasonable results on my limited testing. it really needs someone who knows about symbol table formats to check it over and see if I've screwed up in some way. It was coredumping whenev

Re: Patches for bootparamd for multiple subnets of interest?

2006-03-08 Thread Eric Anderson
Brian J. McGovern wrote: All, I've done some hacking on bootparamd to support multiple subnets (along with applying some patches to allow some Sun-specific behavior) that I'm using for jumpstarting Solaris/Sparc boxes across a boatload of small subnets. The most obvi

Patches for bootparamd for multiple subnets of interest?

2006-03-06 Thread Brian J. McGovern
All, I've done some hacking on bootparamd to support multiple subnets (along with applying some patches to allow some Sun-specific behavior) that I'm using for jumpstarting Solaris/Sparc boxes across a boatload of small subnets. The most obvious change is adding a -R

Re: Config(8) dependency checking - first patches

2006-01-23 Thread Matt Emmerton
> : Notes and patches against 7-CURRENT are at > : http://www.gsicomp.on.ca/projects/freebsd/configdep.html. > > How would you encode ed's dependencies? The ed driver only depends on > mii when built with pccard enabled. I suspected that conditional dependencies would be ne

Re: Config(8) dependency checking - first patches

2006-01-20 Thread M. Warner Losh
: Notes and patches against 7-CURRENT are at : http://www.gsicomp.on.ca/projects/freebsd/configdep.html. How would you encode ed's dependencies? The ed driver only depends on mii when built with pccard enabled. Warner ___ freebsd-hackers@freebs

Config(8) dependency checking - first patches

2006-01-18 Thread Matt Emmerton
Folks, I've written up some patches to add dependency checking to config(8). This will help prevent link errors when compiling kernels with an incomplete kernel config (things like fxp without miibus; umass without da/scbus, etc.) The current set of patches add support to config(8) to

Re: [PATCH] caching daemon release and nsswitch patches

2005-08-30 Thread Michael Bushkov
On Mon, 29 Aug 2005, Dan Nelson wrote: We can't ensure that, I guess. In the upcoming version (before the 1st of September), the cache would be per-user. This would solve all the security problems. In a little while, I'll implement the ability for cached to act as nscd. So you'll be able to ch

Re: [PATCH] caching daemon release and nsswitch patches

2005-08-29 Thread Dan Nelson
In the last episode (Aug 29), Michael Bushkov said: > There is some information in my project's description here: > http://wikitest.freebsd.org/moin.cgi/NsswitchAndCachingTechnicalDetails One question that comes to mind: It looks like the end-user application is still responsible for performing n

Re: [PATCH] caching daemon release and nsswitch patches

2005-08-29 Thread Michael Bushkov
make cached work. It can actually interact with any nsswitch database. All we need is to supply the special structure (in patches it is usually called "cache_info") with 3 functions pointers (*_id_func, *_marshal_func, *_unmarshal_func). These functions are used by nsdispatch during the

Re: [PATCH] caching daemon release and nsswitch patches

2005-08-28 Thread Doug Barton
Michael Bushkov wrote: Hi! I'm working on nsswitch improvement (during the Google Summer of Code program. First off, let me say that this is very exciting stuff! I'm particularly excited about caching for the services stuff, as it will finally allow us to bring in a more complete version of

Re: [PATCH] caching daemon release and nsswitch patches

2005-08-27 Thread Dan Nelson
In the last episode (Aug 27), Michael Bushkov said: > Please try the patches and send me your feedback. I also hope that > there are no reasons not to merge changes, which were made to libc > (they are in include.diff and libc.diff) into the CURRENT. As for the > caching daemon (u

[PATCH] caching daemon release and nsswitch patches

2005-08-27 Thread Michael Bushkov
Hi! I'm working on nsswitch improvement (during the Google Summer of Code program. And, as the deadline is close, I'd like to make some kind of release. Actually there would be 2 releases, this is the first. This release includes 3 patches. They could be found in the Perforce

[RFC] usr.bin patches for compilation with gcc 4.x

2005-08-11 Thread Divacky Roman
hi I made patches for usr.bin to compile with gcc4.x (tested with 4.1 snapshot), here it is: hysteria.sk/~neologism/find.patch hysteria.sk/~neologism/hexdump.patch hysteria.sk/~neologism/mkuzip.patch hysteria.sk/~neologism/tar.patch hysteria.sk/~neologism/wc.patch hysteria.sk/~neologism

rfc: wake on lan patches for review

2005-07-17 Thread Stefan Sperling
Hello Hackers, I have written a patch for the if_sis driver that enables wake on lan on the NatSemi DP8381[56] network chip. This did not work before because the driver needs to explicitely configure the card to enter wake on lan mode on system shutdown. I also added ioctls to make wake events co

Re: Preliminary fdc patches

2004-09-13 Thread FUJISHIMA Satsuki
My FDD shows up again with this patch, thank you. Previously it was proved twice and failed to attach. --- /var/tmp/dmesg.prev Mon Sep 13 06:23:51 2004 +++ /var/run/dmesg.boot Mon Sep 13 17:16:17 2004 @@ -1,7 +1,7 @@ Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 19

Re: Preliminary fdc patches

2004-09-12 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "M. Warner Losh" <[EMAIL PROTECTED]> writes: : Can people test these? I seem to have only good, well behaved fdc : devices :-) These patches should be considered experimental. I've : tried them on one machine only. Hmmm

Preliminary fdc patches

2004-09-12 Thread M. Warner Losh
Can people test these? I seem to have only good, well behaved fdc devices :-) These patches should be considered experimental. I've tried them on one machine only. Warner Index: fdc.c === RCS file: /cache/ncvs/src/sys/de

Re: APM Patches

2004-07-07 Thread Liam J. Foy
On Wed, 07 Jul 2004 19:42:35 +0300 Niki Denev <[EMAIL PROTECTED]> wrote: > Niki Denev writes: > > > M. Warner Losh writes: > > > >> In message: <[EMAIL PROTECTED]> > >> "Liam J. Foy" <[EMAIL PROTECTED]> writes: > >> : Hey guys, > >> : > >> : Since it was decided > >> (http://lists

Re: APM Patches

2004-07-07 Thread Niki Denev
Niki Denev writes: M. Warner Losh writes: In message: <[EMAIL PROTECTED]> "Liam J. Foy" <[EMAIL PROTECTED]> writes: : Hey guys, : : Since it was decided (http://lists.freebsd.org/pipermail/freebsd-acpi/2004-June/000352.html) : we are going to stick with apm -l producing -1 and not 255

Re: APM Patches

2004-07-05 Thread Liam J. Foy
On Mon, 05 Jul 2004 16:45:11 +0300 Niki Denev <[EMAIL PROTECTED]> wrote: > M. Warner Losh writes: > > > In message: <[EMAIL PROTECTED]> > > "Liam J. Foy" <[EMAIL PROTECTED]> writes: > > : Hey guys, > > : > > : Since it was decided > > (http://lists.freebsd.org/pipermail/freebsd-ac

Re: APM Patches

2004-07-05 Thread Niki Denev
M. Warner Losh writes: In message: <[EMAIL PROTECTED]> "Liam J. Foy" <[EMAIL PROTECTED]> writes: : Hey guys, : : Since it was decided (http://lists.freebsd.org/pipermail/freebsd-acpi/2004-June/000352.html) : we are going to stick with apm -l producing -1 and not 255 which is stated in

Re: APM Patches

2004-07-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Liam J. Foy" <[EMAIL PROTECTED]> writes: : Hey guys, : : Since it was decided (http://lists.freebsd.org/pipermail/freebsd-acpi/2004-June/000352.html) : we are going to stick with apm -l producing -1 and not 255 which is stated in the handbook wo

APM Patches

2004-07-04 Thread Liam J. Foy
Hey guys, Since it was decided (http://lists.freebsd.org/pipermail/freebsd-acpi/2004-June/000352.html) we are going to stick with apm -l producing -1 and not 255 which is stated in the handbook would one of you guys please commit: --- /usr/src/usr.sbin/apm/apm.8 Thu Jun 24 17:32:55 200

Re: Power Patches

2004-01-26 Thread Hajimu UMEMOTO
ce 0.0 (no driver attached) cbb0: CardBus card activation failed Full output of dmesg is also attached in this mail. imp> : imp> 1) You are using hw.pci.unsupported_io=1. Turn it off and use imp> : imp>these patches. Let me know if it doesn't. Typically it imp&g

Re: Power Patches

2004-01-06 Thread Mark Santcroos
On Sat, Jan 03, 2004 at 06:47:13PM -0800, Nate Lawson wrote: > I get a panic on my T23 due to the ATA driver not being detected so no > rootvp. Same here on a Dell Latitude C640. Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman

Re: Power Patches

2004-01-05 Thread John Baldwin
On 04-Jan-2004 Nate Lawson wrote: > I get a panic on my T23 due to the ATA driver not being detected so no > rootvp. Attached are dmesg both before and after the patch. The cbb0 > issue is a regression since I have specified it to use an unused IO range > via this tunable (the same range Windows

Re: Power Patches

2004-01-05 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: : Could you provide an updated patch? I've been working on creating an updated one, but I need to patch a couple of things before it will be ready. If all goes well, I'll have it out this afternoon (I'm testing a couple of last

Re: Power Patches

2004-01-05 Thread Daniel Lang
Hi Warner, M. Warner Losh wrote on Thu, Jan 01, 2004 at 11:30:09PM -0700: [..] > http://people.freebsd.org/~imp/power.20040101.diff [..] Hmmm, alas, the patch does not apply clean any more. It seems a recent commit to dev/pccbb/pccbb.c breaks this part of the patch. Not patching the file breaks

Re: Power Patches

2004-01-05 Thread langd-freebsd-hackers
Hi Warner, M. Warner Losh wrote on Thu, Jan 01, 2004 at 11:30:09PM -0700: [..] > http://people.freebsd.org/~imp/power.20040101.diff [..] Hmmm, alas, the patch does not apply clean any more. It seems a recent commit to dev/pccbb/pccbb.c breaks this part of the patch. Not patching the file breaks

Re: Power Patches

2004-01-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Nate Lawson <[EMAIL PROTECTED]> writes: : I get a panic on my T23 due to the ATA driver not being detected so no : rootvp. Attached are dmesg both before and after the patch. The cbb0 : issue is a regression since I have specified it to use an unused IO

Re: Power Patches

2004-01-03 Thread Norikatsu Shigemura
On Thu, 01 Jan 2004 23:30:09 -0700 (MST) "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > You should try it if: > 1) You are using hw.pci.unsupported_io=1. Turn it off and use > these patches. Let me know if it doesn't. Typically it > appea

Re: Power Patches

2004-01-02 Thread David Gilbert
I installed your power patches dated 20040101 on my Dell D-800. The boot fails in a curious way. It finds the ATA controller, but doesn't find either the disk or the CDROM in the machine. I did a -v boot, but I didn't see anything more significant. I don't know what you need to

Re: Power Patches

2004-01-02 Thread Masahide -mac- NODA
Hi, all. From: "M. Warner Losh" <[EMAIL PROTECTED]> Subject: Power Patches Date: Thu, 01 Jan 2004 23:30:09 -0700 (MST) Message-ID: <[EMAIL PROTECTED]> imp> John Baldwin, Nate and I are putting the final touches on the imp> power/resource patches. Please try them out

  1   2   3   >