Repository navigation
Commit 233a01f
Miklos Szeredi
fuse: handle large user and group ID
If the number in "user_id=N" or "group_id=N" mount options was larger than
INT_MAX then fuse returned EINVAL.
Fix this to handle all valid uid/gid values.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: stable@vger.kernel.org1 parent 7b3d8bf commit 233a01f
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
481 | 492 | | |
482 | 493 | | |
483 | 494 | | |
| |||
488 | 499 | | |
489 | 500 | | |
490 | 501 | | |
| 502 | + | |
491 | 503 | | |
492 | 504 | | |
493 | 505 | | |
| |||
511 | 523 | | |
512 | 524 | | |
513 | 525 | | |
514 | | - | |
| 526 | + | |
515 | 527 | | |
516 | | - | |
| 528 | + | |
517 | 529 | | |
518 | 530 | | |
519 | 531 | | |
520 | 532 | | |
521 | 533 | | |
522 | 534 | | |
523 | | - | |
| 535 | + | |
524 | 536 | | |
525 | | - | |
| 537 | + | |
526 | 538 | | |
527 | 539 | | |
528 | 540 | | |
| |||
0 commit comments