Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136010
b: refs/heads/master
c: 1566f3d
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter committed Mar 24, 2009
1 parent 81e97a4 commit 3a7143c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: acfe8333572cad5dc70fce18ac966be0446548d7
refs/heads/master: 1566f3dc3e5986a16c7bbb3bb95bb691251a8d25
4 changes: 4 additions & 0 deletions trunk/drivers/firewire/fw-cdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,10 @@ static int ioctl_send_broadcast_request(struct client *client, void *buffer)
return -EINVAL;
}

/* Security policy: Only allow accesses to Units Space. */
if (request->offset < CSR_REGISTER_BASE + CSR_CONFIG_ROM_END)
return -EACCES;

return init_request(client, request, LOCAL_BUS | 0x3f, SCODE_100);
}

Expand Down

0 comments on commit 3a7143c

Please sign in to comment.