On 11/9/18 6:42 AM, Christoph Hellwig wrote:
> Hi Jens,
>
> this series gets rid of the old BLKPREP_* values from the legacy block
> layer in favor of always using a blk_status_t (or a bool in one case).
Applied
--
Jens Axboe
Currently, SG_IO ioctls are implemented so that non-CAP_SYS_RAWIO users
can send commands from a predetermined whitelist. The whitelist is very
simple-minded though, and basically corresponds to MMC commands---the idea
being that it would be nice for local users to read/copy/burn CDs.
This was pr
This adds two new sysfs attributes to the queue kobject. The attributes
allow reading and writing the whitelist of unprivileged commands.
This is again a bit different from what was removed in commit 018e044
(block: get rid of queue-private command filter, 2009-06-26), but the idea
is the same.
Any command is allowed for scanners when /dev/sg is used.
Reimplement this using customizable command filters, so that the
sysfs knobs will work in this case, too.
Cc: linux-scsi@vger.kernel.org
Cc: Hannes Reinecke
Cc: Martin K. Petersen
Cc: James Bottomley
Signed-off-by: Paolo Bonzini
---
dr
The command filter used to be mutable via sysfs, but this was broken
and backed out. Let's add it back. This patch adds the infrastructure
for filtering, but unlike the old code this one just adds a pointer to
request_queue, so as to make it cheaper in the majority of cases where
no special filteri
I wonder if a better way of adding SG_IO command filtering is via
eBPF? We are currently carrying a inside Google a patch which allows
a specific of SCSI commands to non-root processes --- if the process
belonged to a particular Unix group id.
It's pretty specific to our use case, in terms of the
> > @@ -826,7 +881,8 @@ static int aha1542_dev_reset(struct scsi_cmnd *cmd)
> >
> > aha1542->aha1542_last_mbo_used = mbo;
> >
> > - any2scsi(mb[mbo].ccbptr, isa_virt_to_bus(&ccb[mbo])); /* This gets
> > trashed for some reason */
> > + /* This gets trashed for some reason */
> > +
aha1542 is one of the last users of the legacy isa_*_to_bus APIs, which
also isn't portable enough. Convert it to the proper DMA mapping API.
Thanks to Ondrej Zary for testing and finding and fixing a crucial
bug.
Signed-off-by: Christoph Hellwig
---
Changes since v2:
- fix another sizeof of
How are you doing today,hope fine,My name is cynthia and i am a girl. I
saw your contact email today and decided to extend my greetings to you.
But I do have the mind that you could be a nice person is my believe
and there are nice people out there who can appreciate the value of
friendship.and
How are you doing today,hope fine,My name is cynthia and i am a girl. I
saw your contact email today and decided to extend my greetings to you.
But I do have the mind that you could be a nice person is my believe
and there are nice people out there who can appreciate the value of
friendship.and
Sehr geehrter Herr/Frau,
Wir freuen uns, Ihnen mitzuteilen, dass Sie ausgewählt wurden, um die Summe zu
erhalten €2,000,000.00 Euro aus Mitteln der Mavis Wanczyk Hilfe. Mein Name ist
Mavis Wanczyk der Gewinner des 758,7 Millionen US-Dollar in der Power Ball
Lotterie Jackpot als der größte Preis
If number of interrupt vectors are more than num_online_cpus()
then pci_alloc_irq_vectors_affinity() assigns cpumask based
on num_possible_cpus() to the remaining vectors because of
this interrupts are not generating for these vectors.
This patch fixes this issue by using pci_alloc_irq_vectors()
i
Hi, Doug Gilbert
>>On 2018-11-09 7:18 p.m., Bean Huo (beanhuo) wrote:
>> This patch is to convert inputted string to the integer when read data
>> from stdin. While entering data, the data between bytes can be
>> separated by space, or by ',' or by '.'.
>
>Could you send me this patch against sg_wr
I have a deal for you, in your region.
14 matches
Mail list logo