David Howells | 9 Feb 11:13
Picon
Favicon

[PATCH 1/2] Define ENOAUTHSERVICE to indicate "Authentication service unavailable" [ver #2]

As the kernel has or will have filesystems (and possibly other services) that
want to obtain authentication tokens and/or encryption data on demand (via
GSSAPI for example), it would seem useful to provide an additional error code
to indicate a problem with the lookup, rather than overloading some other error
code.

We already have EKEYREJECTED, EKEYREVOKED and EKEYEXPIRED to indicate problems
with a token that we already have, but what if the authentication server just
isn't available?

Define ENOAUTHSERVICE to indicate "Authentication service unavailable".  This
can be used to indicate, for example, that an attempt was made by request_key()
to retrieve a key, but the authentication server (e.g. a KDC) it is supposed to
contact didn't answer or that it couldn't determine the location of a suitable
server.

One way this can be used is that the user of a network filesystem can get a TGT
from the KDC and stash it in their session keyring, then the filesystem can
attempt to automatically get a ticket for accessing the filesystem - but if the
server is uncontactable then the ticket can be negatively instantiated with
KEYCTL_REJECT, giving the error to be handed to future requests as
ENOAUTHSERVICE and a small timeout so that the key will expire from the cache
and allow a retry after a short while to prevent thrashing.

Signed-off-by: David Howells <dhowells@...>
---

 arch/alpha/include/asm/errno.h  |    2 ++
 arch/mips/include/asm/errno.h   |    1 +
 arch/parisc/include/asm/errno.h |    1 +
(Continue reading)

David Howells | 8 Feb 13:29
Picon
Favicon

[PATCH 1/2] Define ENOAUTHSERVICE to indicate "Authentication service unavailable"

As the kernel has or will have filesystems (and possibly other services) that
want to obtain authentication tokens and/or encryption data on demand (via
GSSAPI for example), it would seem useful to provide an additional error code
to indicate a problem with the lookup, rather than overloading some other error
code.

We already have EKEYREJECTED, EKEYREVOKED and EKEYEXPIRED to indicate problems
with a token that we already have, but what if the authentication server just
isn't available?

Define ENOAUTHSERVICE to indicate "Authentication service unavailable".  This
can be used to indicate, for example, that an attempt was made by request_key()
to retrieve a key, but the authentication server (e.g. a KDC) it is supposed to
contact didn't answer or that it couldn't determine the location of a suitable
server.

One way this can be used is that the user of a network filesystem can get a TGT
from the KDC and stash it in their session keyring, then the filesystem can
attempt to automatically get a ticket for accessing the filesystem - but if the
server is uncontactable then the ticket can be negatively instantiated with
KEYCTL_REJECT, giving the error to be handed to future requests as
ENOAUTHSERVICE and a small timeout so that the key will expire from the cache
and allow a retry after a short while to prevent thrashing.

Signed-off-by: David Howells <dhowells@...>
---

 arch/alpha/include/asm/errno.h  |    1 +
 arch/mips/include/asm/errno.h   |    1 +
 arch/parisc/include/asm/errno.h |    1 +
(Continue reading)

MAKULEKE | 2 Feb 12:28
Picon
Gravatar

Fund transfer/confidential.

Open the attachment file for Fund transfer/confidential.
Attachment (BUSINESS PROPOSAL FRANK..doc): application/msword, 33 KiB
Robin Dong | 17 Nov 09:07
Picon
Gravatar

[Bug] epoll_wait return EPOLLOUT even with EPOLLET flag

Hi,

I am a linux user and I found some question when using epoll with EPOLLET.

My program's step:

1. create a socket (sfd) and connect to server
2. create epoll (efd)
3. add socket descriptor (sfd) to epoll (efd) with flag EPOLLET
4. get a EPOLLOUT event through epoll_wait

After that, the program will nerver get a EPOLLOUT event because ituse
EPOLLET mode (the same event will not be got twice)

BUT,when a message comes from server,the client socket will get aevent
and this event contains EPOLLOUT and EPOLLIN, looks epoll_waitreturn
too much events than it should

My question is: Is this a bug for epoll ?

Any reply will be appreciate.

--
--
Best Regard
Robin Dong
Michael Kerrisk | 28 Sep 19:29
Picon
Gravatar

Re: Draft manpage for recvmmsg [RESEND]

Hi Andi, Arnaldo,

Could you please review the revised recvmmsg.2 man page below.

Andi: I need to know what copyright and license to attach to the page
before I can release it.

Thanks,

Michael

---------- Forwarded message ----------
From: Michael Kerrisk <mtk.manpages@...>
Date: Thu, Sep 15, 2011 at 6:15 AM
Subject: Re: Draft manpage for recvmmsg
To: Andi Kleen <andi@...>
Cc: linux-man@..., netdev@...,
acme@..., Stephan Mueller
<stephan.mueller@...>, Anton
Blanchard <anton@...>, Linux API <linux-api@...>

[CC list expanded]

Hi Andi, (and Arnaldo)

As noted in an earlier mail, I still need to know what copyright and
license to attach to the page before I can release it.

See below for further comments.

(Continue reading)

Michael Kerrisk | 15 Sep 06:16
Picon
Gravatar

sendmmsg(2) draft man pages

Hello Anton,

Stephan Mueller made an initial shot at a manual page for the
sendmmsg() syscall that you recently added to the kernel. This
inspired me to come up with a more complete version, which I'd like to
get reviewed before including in man-pages. Could you take a look
("man -l <file>") at the version below and let me know any errors or
omissions.

Thanks

Michael Kerrisk

.\" Copyright (c) 2011 by Michael Kerrisk <mtk.manpages@...>
.\" with some material from a draft by
.\" Stephan Mueller <stephan.mueller@...>
.\" in turn based on Andi Kleen's recvmmsg.2 page.
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
(Continue reading)

Paolo Bonzini | 7 Sep 16:41
Picon
Favicon
Gravatar

[PATCH 0/3] nbd: add support for DISCARD

This patch series adds support for a DISCARD command in the nbd
protocol.  qemu-nbd will be the first user of the feature.

Please consider this for 3.2.

Thanks!

Cc: Paul Clements <Paul.Clements@...>
Signed-off-by: Paolo Bonzini <pbonzini@...>

Paolo Bonzini (3):
  nbd: remove unused flags fields
  nbd: add support for feature negotiation
  nbd: map DISCARD requests to a new nbd request type

 drivers/block/nbd.c |   28 ++++++++++++++++++++--------
 include/linux/nbd.h |   32 ++++++++++++++++++--------------
 2 files changed, 38 insertions(+), 22 deletions(-)

--

-- 
1.7.6

Shangyu Long | 12 Aug 06:54

(unknown)

Dear E-mail User,   

This is to inform you that your email address with MICROS ID MCX-84743-MFG-133CN-9JP 
emerge our second place winner of $485,000 plus a brand new 2012 Ford TAURUS Car from 
the Shangyu Long&#8482; Mid-year promotion.

Please confirm your status by Contacting Agent: Mr. Daming Zhou with info below..

***Full Name
***Country
***Phone
***Age
***Gender
***Occupation

Please note that your Micros ID  falls within our Asian booklet representative office 
in Malaysia. In view of this, You are to Contact our Representativ Mr. Daming Zhou he 
can understand english and some european languages.

For claims proceedures Send your details to ( Shangyulong@... ) Only.Phone-(+60-
1116455077.)
------------------
Congratulations!!!
Solar Huang. (Sec.announcer)
Solar Huang. | 12 Aug 20:00
Picon
Favicon

(unknown)

Dear E-mail User,   

This is to inform you that your email address with MICROS ID MCX-84743-MFG-
133CN-9JP emerge our second place winner of $485,000 plus a brand new 2012 
Ford TAURUS Car from the Shangyu Long&#8482; Mid-year promotion.

Please confirm your status by Contacting Agent: Mr. Daming Zhou with info 
below..

***Full Name
***Country
***Phone
***Age
***Gender
***Occupation

Please note that your Micros ID  falls within our Asian booklet 
representative office in Malaysia. In view of this, You are to Contact our 
Representativ Mr. Daming Zhou he can understand english and some european 
languages.

For claims proceedures Send your details to ( Shangyulong@... ) 
Only.Phone-(+60-1116455077.)
------------------
Congratulations!!!
Solar Huang. (Sec.announcer)
luckyone | 2 Jun 12:09
Picon

Fill the following information to claim 950.000.00 pounds from the Benz offer&#8207;

1. Name:
2. Address:
3. Telephone number:

taurino alarico | 15 May 09:48
Picon

REVIEW AND RESPOND


I have packaged a financial transaction that will benefit both of us. As a
regional manager, it's my duty to send in a financial report to my head
office in the capital city (Quito Ecuador) at the end of each year. In the
year 2009 i discovered that my branch made three million seven hundred and
fifty thousand dollar, which my head office doesn't know about. I have placed
the said funds in a suspense account without any beneficiary.

As an official of the bank I cannot be directly connected to the money. So i
need you to assist and receive this money into your account and 35% of the
total sum will be yours. There is no risk involved and it will be a bank to
bank transfer. All I need from you is to stand claim as the original
depositor of this fund and have my head office transfer the money to your account.

I will give you more details on how we can achieve it successfully once i
hear from you. Please contact me with this email address: taurinoalarico@...

Gmane