Re: Fuzzing scheduler CFS

2015-07-21 Thread Mulyadi Santosa
Hi On Sun, Jul 19, 2015 at 1:53 PM, Meyer Lansky marku...@inbox.ru wrote: Hello everyone! I decided to take fuzzing task Scheduler CFS http://lxr.free-electrons.com/source/kernel/sched/fair.c Question: I just recently learning fuzzing and it is at all possible fuzzy scheduler? If so

Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Lucas Tanure
Hi, This company released a obfuscated kernel module in GPL 2. http://www.incentivespro.com/downloads.html So, they didn't release the code at all. This is ok ? This against the law ? If you download the source for linux you will se this code: /* * * Copyright (C) 2007-2015 SimplyCore, LLC

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Greg KH
On Tue, Jul 21, 2015 at 03:49:22PM -0300, Lucas Tanure wrote: Hi,  This company released a obfuscated kernel module in GPL 2.  http://www.incentivespro.com/downloads.html So, they didn't release the code at all. This is ok ?  This against the law ?  Why are you asking developers legal

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Dave Tian
Off the topic maybe, this usb redirector could be built above usbip, which is in the mainline. -daveti On Jul 21, 2015, at 3:05 PM, Greg KH g...@kroah.com wrote: On Tue, Jul 21, 2015 at 03:49:22PM -0300, Lucas Tanure wrote: Hi, This company released a obfuscated kernel module in GPL

Re: what is the use of #ifndefs

2015-07-21 Thread Aruna Hewapathirane
snip I dont understand what goal is it supposed to achieve at the beginning of the headerfile snip The 'goal' is to prevent 'redefinition' errors, like Stephan Müller said it is a 'include guard'. A explanation of why and how to use include guards can be found here:

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Valdis . Kletnieks
On Tue, 21 Jul 2015 15:49:22 -0300, Lucas Tanure said: Hi, This company released a obfuscated kernel module in GPL 2. http://www.incentivespro.com/downloads.html So, they didn't release the code at all. This is ok ? This against the law ? We're code hackers here. If the

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Clemens Gruber
On Tue, Jul 21, 2015 at 03:49:22PM -0300, Lucas Tanure wrote: Hi, This company released a obfuscated kernel module in GPL 2. http://www.incentivespro.com/downloads.html So, they didn't release the code at all. This is ok ? This against the law ? If you download the source for linux you

RE: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Jeff Haran
From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Lucas Tanure Sent: Tuesday, July 21, 2015 11:49 AM To: Kernelnewbies@kernelnewbies.org Subject: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API Hi, This company

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Valdis . Kletnieks
On Tue, 21 Jul 2015 20:13:48 -, Jeff Haran said: But it seems to me that if it builds, then they’ve released the code. No - the GPLv2 says: The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means

Re: Obfuscate code GPL 2 - The source uses kernel structs and GPL2 API

2015-07-21 Thread Lucas Tanure
Hi Guys, Many thanks. It was just for the sake of curiosity. I know that I should ask lawyers about that, but it's good to hear some view points from other developers. The best action is to simply not use their solution, and spread the word. Like Jeff Haran, That is just too funny. Thanks!! --

Re: what is the use of #ifndefs

2015-07-21 Thread Bernd Petrovitsch
Hi all! On Die, 2015-07-21 at 11:04 +0530, Amit Pandey wrote: [... crap deleted ...] Please let me know whether I was clear with the explanation. It was clear and it is total and absolute crap: - first, check with the .h (and .c) files in the kernel (and all others which get it right), that

Re: what is the use of #ifndefs

2015-07-21 Thread Navy
On Tue, Jul 21, 2015 at 11:04:15AM +0530, Amit Pandey wrote: Hi Ahmed, See the comments inline #ifndef _LINUX_LIST_H // If not defined _LINUX_LIST_H macro #define _LINUX_LIST_H // then define this macro #include linuxlist.h // and include linuxlist.h header file #endif

Allocate write combined memory for BAR of a PCIe device and transfer data in bursts

2015-07-21 Thread Ankit Pradhan
Hello everyone I want to be able to send 1-2KB of data from host, using BARs of a PCIe device, with very low latency. I am working on an FPGA project in which I have to send packet data from Host to FPGA over PCIe 3.0 interface. This is a latency critical application and therefore I want to use