Re:dtrace filename lookups from fd (Serg Slobodyanyuk)

2012-06-04 Thread Sergey Slobodyanyuk
Date: Fri, 1 Jun 2012 17:00:20 +0100 From: Steven Hartland kill...@multiplay.co.uk As a first foray into dtrace I wanted to create a little script which shows the amount of disk read / write activity. Now the DtraceToolkit includes rwsnoop but this uses Solaris specific requests and on

Re: nvidia-driver-295.49 is highly unstable

2012-06-04 Thread Pegasus Mc Cleaft
On 06/04/12 03:12, Chris wrote: On Sun, 27 May 2012 20:50:59 -0300 Mario Lobol...@bsd.com.br wrote: On Sunday 27 May 2012 14:05:16 Yuri wrote: On 05/27/2012 10:01, David Wolfskill wrote: So, at least in my case, I respectfully disagree with the assessment in the Subject. i386 is one

RE: [Hash function Ipv4]

2012-06-04 Thread enrico d'urso
Hi, I did some tests with some subnets Ip /24 and I will share the results. I got very good results with this configuration: Hash table's size: Let x be the number of ip. Y = x*2, then size_table = 'The power of 2 closest to Y, and greater than or equal to Y'. Hash Function: return

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-04 Thread Pawel Jakub Dawidek
On Sun, Jun 03, 2012 at 08:42:04PM -0500, Bryan Drewery wrote: Hi, I've written up a patch to add some privacy to last(1) while still giving non-privileged users access to their own login history. This is still a work in progress. I am reaching out to make sure my approach is proper and

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-04 Thread Bryan Drewery
On 6/4/2012 4:42 AM, Pawel Jakub Dawidek wrote: On Sun, Jun 03, 2012 at 08:42:04PM -0500, Bryan Drewery wrote: Questions: To add this support to w(1) and who(1), I want to share the is_user_restricted() function among all 3 binaries. I don't think this really belongs in libc/libutil, but

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-04 Thread Bryan Drewery
On 6/4/2012 4:42 AM, Pawel Jakub Dawidek wrote: A library is definiately a better place, although then I wouldn't pass see_other_uids as an argument, but obtain it within the function itself. Does libc make sense for this? I'm thinking yes since it's where the utx functions live. In

Re: nvidia-driver-295.49 is highly unstable

2012-06-04 Thread Mel Flynn
On 4-6-2012 9:54, Pegasus Mc Cleaft wrote: I forgot to switch back to base gcc before compiling the nvidia driver. I installed the driver and rebooted, xorg came up but as soon as I logged in, kwin crashed, then the machine kernel panicked and rebooted. I rebooted and crashed a few more times

Re: nvidia-driver-295.49 is highly unstable

2012-06-04 Thread David Wolfskill
On Mon, Jun 04, 2012 at 03:53:26PM +0200, Mel Flynn wrote: On 4-6-2012 9:54, Pegasus Mc Cleaft wrote: I forgot to switch back to base gcc before compiling the nvidia driver. I installed the driver and rebooted, xorg came up but as soon as I logged in, kwin crashed, then the machine

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-04 Thread Wojciech Puchar
Justifications: Why the changes? This makes sense for shared hosting environments where jails are not practical. jails are NEVER practical, it is only a necessity! Necessity to be able to run stupid software that cannot conform to basic unix standards and require to be run as root or from

Re: reverse USB driver - is it possible?

2012-06-04 Thread Hans Petter Selasky
On Monday 04 June 2012 07:00:01 Wojciech Puchar wrote: Have a look at: sys/dev/usb/storage/ustorage_fs.c Currently just implements a RAM disk. Patches are welcome. many answers - contradicting itself. others says hardware is unable to do so, you say it is done. then - how to use

Re: reverse USB driver - is it possible?

2012-06-04 Thread Wojciech Puchar
When USB was designed, they didn't think about what is called cross-over in the ethernet world. Therefore hardware is typically limited to host or device. Hardware that can do both is called OTG USB hardware. OK fine, i now understand exactly what OTG means in eg. microchip microcontrollers.

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-04 Thread Bryan Drewery
On 6/4/2012 8:17 AM, Bryan Drewery wrote: On 6/4/2012 4:42 AM, Pawel Jakub Dawidek wrote: A library is definiately a better place, although then I wouldn't pass see_other_uids as an argument, but obtain it within the function itself. Does libc make sense for this? I'm thinking yes since

Re: reverse USB driver - is it possible?

2012-06-04 Thread Daniel O'Connor
On 05/06/2012, at 2:45, Wojciech Puchar wrote: So the only way to do this is to make a microcontroller based bridge or there are such solutions already available? actually the only thing i want is CD/DVD USB simulator using file on my laptop or even separate flash memory (pendrive).

Re: nvidia-driver-295.49 is highly unstable

2012-06-04 Thread Yuri
On 06/04/2012 00:54, Pegasus Mc Cleaft wrote: You know what it could be? I just had to rebuild my user-land because of KDE updates and I use variables in my make.conf to switch between base GCC and CLANG. I forgot to switch back to base gcc before compiling the nvidia driver. I installed