Re: Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread s.rawat
Yes the headers are there in the sources of 3.18.5 kernel.But then I have to change all the references to linux/ in my modules to the path of /include/linux/.This could be corrective action.I am looking for preventive action . CONFIG_LOCALVERSION appends whatever name we want to append after the ke

Re: HID Custom Sensor driver in linux kernel

2015-02-11 Thread Greg KH
On Wed, Feb 11, 2015 at 04:48:44PM +0530, s.rawat wrote: > thanks for the hint.A quick grep of hid-custom* or custom* inside > Documentation > /hid as well as drivers/iio/ doesn't yields anything related to hid custom > sensor driver.Manual search inside the folders recursively also give the same

Re: Fwd: Fwd: Getting path in inode_permission

2015-02-11 Thread Valdis . Kletnieks
On Thu, 12 Feb 2015 03:19:46 +0530, noyb noybee said: > Well, any program which has root credentials is still allowed to call > chroot(it needs to get a new passphrase before) but not any program > with root credentials can exit it. Well see... now you have a problem. If you don't allow that chr

Re: Fwd: Fwd: Getting path in inode_permission

2015-02-11 Thread noyb noybee
On Thu, Feb 12, 2015 at 2:07 AM, wrote: > On Thu, 12 Feb 2015 00:31:45 +0530, noyb noybee said: > >> I was planning that the calling process would call the new system call >> which would return a pseudo-random key that is used as the >> pass-phrase. > > So what prevents malicious code from doing

Re: Fwd: Fwd: Getting path in inode_permission

2015-02-11 Thread Valdis . Kletnieks
On Thu, 12 Feb 2015 00:31:45 +0530, noyb noybee said: > I was planning that the calling process would call the new system call > which would return a pseudo-random key that is used as the > pass-phrase. So what prevents malicious code from doing a fork and then calling the new syscall to get its

Re: workqueues - how to use them correctly

2015-02-11 Thread Roshan A
Thanks Arun for the link. This clears up things for me. On Wed, Feb 11, 2015 at 3:28 AM, Arun KS wrote: > Hello Roshan, > > On Tue, Feb 10, 2015 at 2:20 PM, Roshan A wrote: >> >> hi all, >> >> My question is regarding the correct use of workqueues. I have a >> driver which queues a work item in

Re: Fwd: Fwd: Getting path in inode_permission

2015-02-11 Thread noyb noybee
On Wed, Feb 11, 2015 at 4:29 AM, wrote: > On Wed, 11 Feb 2015 03:42:50 +0530, noyb noybee said: > You missed the point. How does the process *securely* get the passphrase > that will be passed into the syscall? (Hint - a keystroke logger is only > the *start* of your problems. Think about why t

Question on MSI support in PCI and PCI-E devices

2015-02-11 Thread Andrey Utkin
Is it true that _every_ PCI or PCI Express device supporting MSI is indicated by some mention of MSI in "lspci -v", and if there's no such mention, it surely doesn't support MSI? -- Andrey Utkin ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbie

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread Arshad Hussain
On 11-Feb-2015, at 11:18 pm, Vinícius Tinti wrote: > On Wed, Feb 11, 2015 at 3:42 PM, s.rawat wrote: >> Hello, >> I recently built the 3.18.5 kernel according to instruction on the >> linuxkernel newbie page .I used /sbin/installkernel script to install the >> modules and updated the grub.cnf.

Re: Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread Vinícius Tinti
On Wed, Feb 11, 2015 at 3:42 PM, s.rawat wrote: > Hello, > I recently built the 3.18.5 kernel according to instruction on the > linuxkernel newbie page .I used /sbin/installkernel script to install the > modules and updated the grub.cnf. > On a reboot i get option 3.18.5[b]-custom[/b] and booted i

Replacing "-custom" in my New Kernel development configuration

2015-02-11 Thread s.rawat
Hello, I recently built the 3.18.5 kernel according to instruction on the linuxkernel newbie page .I used /sbin/installkernel script to install the modules and updated the grub.cnf. On a reboot i get option 3.18.5[b]-custom[/b] and booted in.But now since I am modifying the kernel and needed header

Re: Overlapping regions in DT

2015-02-11 Thread Stefan Wahren
Hi Tsahee, Am 09.02.2015 um 09:22 schrieb Tsahee Zidenberg: > syscon regmap is one possible way to access a register file from two > different drivers without mapping it twice. But in that case you loose > the name-per-register in devicetree. The devtree maps the general > regfile, and the drivers

Re: Is this a good first patch for enabling screen rotation?

2015-02-11 Thread Brock York
Hello Valdis Sorry for such a late reply and thank you for such a quick reply. On Thu, 2015-01-29 at 12:12 -0500, valdis.kletni...@vt.edu wrote: > On Fri, 30 Jan 2015 00:45:30 +0800, Brock York said: > > (Note, I don't have an Acer, nor am I an HID expert... so take this > all with a grain of s

Re: workqueues - how to use them correctly

2015-02-11 Thread Arun KS
Hello Roshan, On Tue, Feb 10, 2015 at 2:20 PM, Roshan A wrote: > > hi all, > > My question is regarding the correct use of workqueues. I have a > driver which queues a work item in the interrupt handler. The bottom > half function ( the workitem -function ) does have proper locking ( > mutex ) in

Wireless, how to use dual band

2015-02-11 Thread Robert Clove
Hi, I have few laptops and two routers with dual band (TP-LINK TL-WDR3600 N600 WIRELESS DUAL BAND GIGABIT ROUTER) . What i am trying to achieve is if someone want to send msg to a an individual then one of the band should be used (eg 2.4GHz) and if someone want to send message to the group then i

Re: HID Custom Sensor driver in linux kernel

2015-02-11 Thread s.rawat
thanks for the hint.A quick grep of hid-custom* or custom* inside Documentation/hid as well as drivers/iio/ doesn't yields anything related to hid custom sensor driver.Manual search inside the folders recursively also give the same result.I did this for kernel 3.18.x and 3.19.x.I inspired to find t