Changeset 2760
- Timestamp:
- 07/15/08 10:33:51
(5 months ago)
- Author:
- cpebenito
- Message:
trunk: update init_telinit() for upstart's datagram socket usage instead of pipe useage.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2743 |
r2760 |
|
| | 1 | - Issuing commands to upstart is over a datagram socket, not the initctl |
|---|
| | 2 | named pipe. Updated init_telinit() to match. |
|---|
| | 3 | |
|---|
| 1 | 4 | * Wed Jul 02 2008 Chris PeBenito <selinux@tresys.com> - 20080702 |
|---|
| 2 | 5 | - Fix httpd_enable_homedirs to actually provide the access it is supposed to |
|---|
| r2479 |
r2760 |
|
| 470 | 470 | |
|---|
| 471 | 471 | init_exec($1) |
|---|
| | 472 | |
|---|
| | 473 | tunable_policy(`init_upstart',` |
|---|
| | 474 | gen_require(` |
|---|
| | 475 | type init_t; |
|---|
| | 476 | ') |
|---|
| | 477 | |
|---|
| | 478 | # upstart uses a datagram socket instead of initctl pipe |
|---|
| | 479 | allow $1 self:unix_dgram_socket create_socket_perms; |
|---|
| | 480 | allow $1 init_t:unix_dgram_socket sendto; |
|---|
| | 481 | ') |
|---|
| 472 | 482 | ') |
|---|
| 473 | 483 | |
|---|
| r2742 |
r2760 |
|
| 1 | 1 | |
|---|
| 2 | | policy_module(init, 1.11.0) |
|---|
| | 2 | policy_module(init, 1.11.1) |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | gen_require(` |
|---|
Download in other formats:
* Generating other formats may take time.