Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9485
b: refs/heads/master
c: 8cf14af
h: refs/heads/master
i:
  9483: 8f57c72
v: v3
  • Loading branch information
David S. Miller committed Sep 29, 2005
1 parent 1b4615e commit 1f8fd36
Show file tree
Hide file tree
Showing 205 changed files with 1,845 additions and 11,736 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a36f4961952214bdfc396e035a047268ac48c5c3
refs/heads/master: 8cf14af0a740fb7e9f94a203b5a989beb875d58f
10 changes: 0 additions & 10 deletions trunk/Documentation/Changes
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,6 @@ udev
udev is a userspace application for populating /dev dynamically with
only entries for devices actually present. udev replaces devfs.

FUSE
----

Needs libfuse 2.4.0 or later. Absolute minimum is 2.3.0 but mount
options 'direct_io' and 'kernel_cache' won't work.

Networking
==========

Expand Down Expand Up @@ -396,10 +390,6 @@ udev
----
o <http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html>

FUSE
----
o <http://sourceforge.net/projects/fuse>

Networking
**********

Expand Down
74 changes: 19 additions & 55 deletions trunk/Documentation/keys.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ KEY ACCESS PERMISSIONS
======================

Keys have an owner user ID, a group access ID, and a permissions mask. The mask
has up to eight bits each for possessor, user, group and other access. Only
five of each set of eight bits are defined. These permissions granted are:
has up to eight bits each for user, group and other access. Only five of each
set of eight bits are defined. These permissions granted are:

(*) View

Expand Down Expand Up @@ -241,16 +241,16 @@ about the status of the key service:
type, description and permissions. The payload of the key is not available
this way:

SERIAL FLAGS USAGE EXPY PERM UID GID TYPE DESCRIPTION: SUMMARY
00000001 I----- 39 perm 1f1f0000 0 0 keyring _uid_ses.0: 1/4
00000002 I----- 2 perm 1f1f0000 0 0 keyring _uid.0: empty
00000007 I----- 1 perm 1f1f0000 0 0 keyring _pid.1: empty
0000018d I----- 1 perm 1f1f0000 0 0 keyring _pid.412: empty
000004d2 I--Q-- 1 perm 1f1f0000 32 -1 keyring _uid.32: 1/4
000004d3 I--Q-- 3 perm 1f1f0000 32 -1 keyring _uid_ses.32: empty
00000892 I--QU- 1 perm 1f000000 0 0 user metal:copper: 0
00000893 I--Q-N 1 35s 1f1f0000 0 0 user metal:silver: 0
00000894 I--Q-- 1 10h 001f0000 0 0 user metal:gold: 0
SERIAL FLAGS USAGE EXPY PERM UID GID TYPE DESCRIPTION: SUMMARY
00000001 I----- 39 perm 1f0000 0 0 keyring _uid_ses.0: 1/4
00000002 I----- 2 perm 1f0000 0 0 keyring _uid.0: empty
00000007 I----- 1 perm 1f0000 0 0 keyring _pid.1: empty
0000018d I----- 1 perm 1f0000 0 0 keyring _pid.412: empty
000004d2 I--Q-- 1 perm 1f0000 32 -1 keyring _uid.32: 1/4
000004d3 I--Q-- 3 perm 1f0000 32 -1 keyring _uid_ses.32: empty
00000892 I--QU- 1 perm 1f0000 0 0 user metal:copper: 0
00000893 I--Q-N 1 35s 1f0000 0 0 user metal:silver: 0
00000894 I--Q-- 1 10h 1f0000 0 0 user metal:gold: 0

The flags are:

Expand Down Expand Up @@ -637,34 +637,6 @@ call, and the key released upon close. How to deal with conflicting keys due to
two different users opening the same file is left to the filesystem author to
solve.

Note that there are two different types of pointers to keys that may be
encountered:

(*) struct key *

This simply points to the key structure itself. Key structures will be at
least four-byte aligned.

(*) key_ref_t

This is equivalent to a struct key *, but the least significant bit is set
if the caller "possesses" the key. By "possession" it is meant that the
calling processes has a searchable link to the key from one of its
keyrings. There are three functions for dealing with these:

key_ref_t make_key_ref(const struct key *key,
unsigned long possession);

struct key *key_ref_to_ptr(const key_ref_t key_ref);

unsigned long is_key_possessed(const key_ref_t key_ref);

The first function constructs a key reference from a key pointer and
possession information (which must be 0 or 1 and not any other value).

The second function retrieves the key pointer from a reference and the
third retrieves the possession flag.

When accessing a key's payload contents, certain precautions must be taken to
prevent access vs modification races. See the section "Notes on accessing
payload contents" for more information.
Expand Down Expand Up @@ -693,11 +665,7 @@ payload contents" for more information.

void key_put(struct key *key);

Or:

void key_ref_put(key_ref_t key_ref);

These can be called from interrupt context. If CONFIG_KEYS is not set then
This can be called from interrupt context. If CONFIG_KEYS is not set then
the argument will not be parsed.


Expand All @@ -721,17 +689,13 @@ payload contents" for more information.

(*) If a keyring was found in the search, this can be further searched by:

key_ref_t keyring_search(key_ref_t keyring_ref,
const struct key_type *type,
const char *description)
struct key *keyring_search(struct key *keyring,
const struct key_type *type,
const char *description)

This searches the keyring tree specified for a matching key. Error ENOKEY
is returned upon failure (use IS_ERR/PTR_ERR to determine). If successful,
the returned key will need to be released.

The possession attribute from the keyring reference is used to control
access through the permissions mask and is propagated to the returned key
reference pointer if successful.
is returned upon failure. If successful, the returned key will need to be
released.


(*) To check the validity of a key, this function can be called:
Expand Down Expand Up @@ -768,7 +732,7 @@ More complex payload contents must be allocated and a pointer to them set in
key->payload.data. One of the following ways must be selected to access the
data:

(1) Unmodifiable key type.
(1) Unmodifyable key type.

If the key type does not have a modify method, then the key's payload can
be accessed without any form of locking, provided that it's known to be
Expand Down
19 changes: 0 additions & 19 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -604,15 +604,6 @@ P: H. Peter Anvin
M: hpa@zytor.com
S: Maintained

CPUSETS
P: Paul Jackson
P: Simon Derr
M: pj@sgi.com
M: simon.derr@bull.net
L: linux-kernel@vger.kernel.org
W: http://www.bullopensource.org/cpuset/
S: Supported

CRAMFS FILESYSTEM
W: http://sourceforge.net/projects/cramfs/
S: Orphan
Expand Down Expand Up @@ -1743,11 +1734,8 @@ S: Maintained
IPVS
P: Wensong Zhang
M: wensong@linux-vs.org
P: Simon Horman
M: horms@verge.net.au
P: Julian Anastasov
M: ja@ssi.bg
L: netdev@vger.kernel.org
S: Maintained

NFS CLIENT
Expand Down Expand Up @@ -1918,13 +1906,6 @@ M: joern@wh.fh-wedel.de
L: linux-mtd@lists.infradead.org
S: Maintained

PKTCDVD DRIVER
P: Peter Osterlund
M: petero2@telia.com
L: linux-kernel@vger.kernel.org
L: packet-writing@suse.com
S: Maintained

POSIX CLOCKS and TIMERS
P: George Anzinger
M: george@mvista.com
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/common/gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ static void gic_unmask_irq(unsigned int irq)
writel(mask, gic_dist_base + GIC_DIST_ENABLE_SET + (irq / 32) * 4);
}

#ifdef CONFIG_SMP
static void gic_set_cpu(struct irqdesc *desc, unsigned int irq, unsigned int cpu)
{
void __iomem *reg = gic_dist_base + GIC_DIST_TARGET + (irq & ~3);
Expand All @@ -79,7 +78,6 @@ static void gic_set_cpu(struct irqdesc *desc, unsigned int irq, unsigned int cpu
val |= 1 << (cpu + shift);
writel(val, reg);
}
#endif

static struct irqchip gic_chip = {
.ack = gic_ack_irq,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/common/locomo.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/spinlock.h>

#include <asm/hardware.h>
#include <asm/mach-types.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-imx/leds-mx1ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <asm/system.h>
#include <asm/io.h>
#include <asm/leds.h>
#include <asm/mach-types.h>
#include "leds.h"

/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ unsigned long iop3xx_pcibios_min_mem = 0;
/*
* Default power-off for EP80219
*/
#include <asm/mach-types.h>

static inline void ep80219_send_to_pic(__u8 c) {
}
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/iop321-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/mach-types.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/iop331-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/mach-types.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/iq31244-mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <asm/page.h>

#include <asm/mach/map.h>
#include <asm/mach-types.h>


/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/iq80321-mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <asm/page.h>

#include <asm/mach/map.h>
#include <asm/mach-types.h>


/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/iq80331-mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <asm/page.h>

#include <asm/mach/map.h>
#include <asm/mach-types.h>


/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-iop3xx/iq80332-mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <asm/page.h>

#include <asm/mach/map.h>
#include <asm/mach-types.h>


/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-ixp2000/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <asm/setup.h>
#include <asm/memory.h>
#include <asm/hardware.h>
#include <asm/mach-types.h>
#include <asm/irq.h>
#include <asm/system.h>
#include <asm/tlbflush.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-ixp2000/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/system.h>
#include <asm/mach-types.h>
#include <asm/hardware.h>

#include <asm/mach/pci.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ixp4xx/ixdp425-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static void __init ixdp425_init(void)
platform_add_devices(ixdp425_devices, ARRAY_SIZE(ixdp425_devices));
}

#ifdef CONFIG_ARCH_IXDP425
#ifdef CONFIG_ARCH_IXDP465
MACHINE_START(IXDP425, "Intel IXDP425 Development Platform")
/* Maintainer: MontaVista Software, Inc. */
.phys_ram = PHYS_OFFSET,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-l7200/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <asm/page.h>

#include <asm/mach/map.h>
#include <asm/arch/hardware.h>

/*
* IRQ base register
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-pxa/corgi_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include <asm/mach-types.h>
#include <asm/arch/akita.h>
#include <asm/arch/corgi.h>
#include <asm/arch/hardware.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <asm/arch/udc.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/mmc.h>
#include <asm/arch/i2c.h>

#include "generic.h"

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-s3c2410/usb-simtec.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <asm/hardware.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/mach-types.h>

#include "devs.h"
#include "usb-simtec.h"
Expand Down
Loading

0 comments on commit 1f8fd36

Please sign in to comment.