Update for v5.10 kernel headers.
Test: Builds. Change-Id: I6c4b04751df026ef7cbb91627174188c5e6d137c
This commit is contained in:
parent
5a611cb834
commit
6ddc2c56c9
2 changed files with 4 additions and 6 deletions
|
@ -370,14 +370,12 @@ const char* get_sigcode(const siginfo_t* si) {
|
|||
return "SEGV_ADIDERR";
|
||||
case SEGV_ADIPERR:
|
||||
return "SEGV_ADIPERR";
|
||||
#if defined(ANDROID_EXPERIMENTAL_MTE)
|
||||
case SEGV_MTEAERR:
|
||||
return "SEGV_MTEAERR";
|
||||
case SEGV_MTESERR:
|
||||
return "SEGV_MTESERR";
|
||||
#endif
|
||||
}
|
||||
static_assert(NSIGSEGV == SEGV_ADIPERR, "missing SEGV_* si_code");
|
||||
static_assert(NSIGSEGV == SEGV_MTESERR, "missing SEGV_* si_code");
|
||||
break;
|
||||
case SIGSYS:
|
||||
switch (si->si_code) {
|
||||
|
|
|
@ -167,7 +167,7 @@ TEST_F(FuseAppLoopTest, LookUp) {
|
|||
EXPECT_EQ(0u, response_.entry_out.attr.gid);
|
||||
EXPECT_EQ(0u, response_.entry_out.attr.rdev);
|
||||
EXPECT_EQ(0u, response_.entry_out.attr.blksize);
|
||||
EXPECT_EQ(0u, response_.entry_out.attr.padding);
|
||||
EXPECT_EQ(0u, response_.entry_out.attr.flags);
|
||||
}
|
||||
|
||||
TEST_F(FuseAppLoopTest, LookUp_InvalidName) {
|
||||
|
@ -226,7 +226,7 @@ TEST_F(FuseAppLoopTest, GetAttr) {
|
|||
EXPECT_EQ(0u, response_.attr_out.attr.gid);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.rdev);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.blksize);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.padding);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.flags);
|
||||
}
|
||||
|
||||
TEST_F(FuseAppLoopTest, GetAttr_Root) {
|
||||
|
@ -259,7 +259,7 @@ TEST_F(FuseAppLoopTest, GetAttr_Root) {
|
|||
EXPECT_EQ(0u, response_.attr_out.attr.gid);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.rdev);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.blksize);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.padding);
|
||||
EXPECT_EQ(0u, response_.attr_out.attr.flags);
|
||||
}
|
||||
|
||||
TEST_F(FuseAppLoopTest, Open) {
|
||||
|
|
Loading…
Reference in a new issue